This is to document why we use /24 in that function and better name a function.
/24
PR: https://github.com/torproject/tor/pull/1957