Lines Matching refs:in_addr
21 bool in4_addr_is_null(const struct in_addr *a) { in in4_addr_is_null()
45 bool in4_addr_is_link_local(const struct in_addr *a) { in in4_addr_is_link_local()
91 bool in4_addr_is_local_multicast(const struct in_addr *a) { in in4_addr_is_local_multicast()
97 bool in4_addr_is_localhost(const struct in_addr *a) { in in4_addr_is_localhost()
104 bool in4_addr_is_non_local(const struct in_addr *a) { in in4_addr_is_non_local()
143 bool in4_addr_equal(const struct in_addr *a, const struct in_addr *b) { in in4_addr_equal()
579 unsigned char in4_addr_netmask_to_prefixlen(const struct in_addr *addr) { in in4_addr_netmask_to_prefixlen()
585 struct in_addr* in4_addr_prefixlen_to_netmask(struct in_addr *addr, unsigned char prefixlen) { in in4_addr_prefixlen_to_netmask()
598 int in4_addr_default_prefixlen(const struct in_addr *addr, unsigned char *prefixlen) { in in4_addr_default_prefixlen()
622 int in4_addr_default_subnet_mask(const struct in_addr *addr, struct in_addr *mask) { in in4_addr_default_subnet_mask()
637 int in4_addr_mask(struct in_addr *addr, unsigned char prefixlen) { in in4_addr_mask()
638 struct in_addr mask; in in4_addr_mask()
686 const struct in_addr *prefix, in in4_addr_prefix_covers()
688 const struct in_addr *address) { in in4_addr_prefix_covers()
690 struct in_addr masked_prefix, masked_address; in in4_addr_prefix_covers()