commit | 17e52061bacec93e84324b23382e5ec61e1f16d0 | [log] [tgz] |
---|---|---|
author | David Lamparter <equinox@diac24.net> | Tue Feb 02 20:16:35 2010 +0100 |
committer | Denis Ovsienko <infrastation@yandex.ru> | Mon Nov 21 19:41:51 2011 +0400 |
tree | bae9f3f8f8e89b531e5df167d33427627ea709fc | |
parent | 681b84e8f50a09ff871d9e6536e8d8afb115ce13 [diff] |
lib: prefix2sockunion, prefix_common_bits helper functions prefix2sockunion converts a struct prefix* to a union sockunion *; prefix_common_bits counts the number of common bits in the prefix's address part.