diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2010-04-28 00:39:57 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2010-04-28 00:39:57 +0200 |
commit | ba321706578de8402d50214a9e79a65835cdd821 (patch) | |
tree | a76b5e241ed7f7c698890f2f9fd26a3c35ed07b2 /lib/ip.c | |
parent | 48b0814ace2d05f9fef093d9f309bfa186a6f365 (diff) |
Better support for /31 networks.
Diffstat (limited to 'lib/ip.c')
-rw-r--r-- | lib/ip.c | 14 |
1 files changed, 1 insertions, 13 deletions
@@ -151,18 +151,6 @@ void ipa_ntoh(ip_addr x) { DUMMY } int ipa_classify(ip_addr x) { DUMMY } /** - * ipa_opposite - return address of point-to-point neighbor - * @x: IP address of our end of the link - * @pxlen: network prefix length - * - * ipa_opposite() returns an address of the opposite end of a numbered - * point-to-point link. - * - * This function is available in IPv4 version only. - */ -ip_addr ipa_opposite(ip_addr x, int pxlen) { DUMMY } - -/** * ipa_class_mask - guess netmask according to address class * @x: IP address * @@ -172,7 +160,7 @@ ip_addr ipa_opposite(ip_addr x, int pxlen) { DUMMY } * routing protocols transferring no prefix lengths nor netmasks * and this function could be useful to them. */ -ip_addr ipa_classify(ip_addr x) { DUMMY } +ip_addr ipa_class_mask(ip_addr x) { DUMMY } /** * ipa_from_u32 - convert IPv4 address to an integer |