46 |
(ipaddr)->addr[3] = htonl(((g & 0xffff) << 16) | (h & 0xffff)); } while(0) |
(ipaddr)->addr[3] = htonl(((g & 0xffff) << 16) | (h & 0xffff)); } while(0) |
47 |
|
|
48 |
int ip_addr_maskcmp(struct ip_addr *addr1, struct ip_addr *addr2, |
int ip_addr_maskcmp(struct ip_addr *addr1, struct ip_addr *addr2, |
49 |
struct ip_addr *mask); |
struct ip_addr *mask); |
50 |
int ip_addr_cmp(struct ip_addr *addr1, struct ip_addr *addr2); |
int ip_addr_cmp(struct ip_addr *addr1, struct ip_addr *addr2); |
51 |
void ip_addr_set(struct ip_addr *dest, struct ip_addr *src); |
void ip_addr_set(struct ip_addr *dest, struct ip_addr *src); |
52 |
int ip_addr_isany(struct ip_addr *addr); |
int ip_addr_isany(struct ip_addr *addr); |