commit | 188506f4c618626e3da2c1e657100315f49664ee | [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 18:23:10 2011 +0400 |
tree | faf3e43e2b941b21105760d8fd6a84f179f95810 | |
parent | 8b1eb59bb954af49455a97dbabf65321001d0225 [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.