Lines Matching refs:in_addr
13 struct in_addr in;
15 uint8_t bytes[CONST_MAX(sizeof(struct in_addr), sizeof(struct in6_addr))];
23 bool in4_addr_is_null(const struct in_addr *a);
24 static inline bool in4_addr_is_set(const struct in_addr *a) { in in4_addr_is_set()
45 bool in4_addr_is_link_local(const struct in_addr *a);
50 bool in4_addr_is_localhost(const struct in_addr *a);
54 bool in4_addr_is_local_multicast(const struct in_addr *a);
55 bool in4_addr_is_non_local(const struct in_addr *a);
58 bool in4_addr_equal(const struct in_addr *a, const struct in_addr *b);
89 unsigned char in4_addr_netmask_to_prefixlen(const struct in_addr *addr);
90 struct in_addr* in4_addr_prefixlen_to_netmask(struct in_addr *addr, unsigned char prefixlen);
91 int in4_addr_default_prefixlen(const struct in_addr *addr, unsigned char *prefixlen);
92 int in4_addr_default_subnet_mask(const struct in_addr *addr, struct in_addr *mask);
93 int in4_addr_mask(struct in_addr *addr, unsigned char prefixlen);
96 int in4_addr_prefix_covers(const struct in_addr *prefix, unsigned char prefixlen, const struct in_a…
121 _f == AF_INET ? sizeof(struct in_addr) : \