Home
last modified time | relevance | path

Searched refs:addr_mask (Results 1 – 3 of 3) sorted by relevance

/third_party/toybox/toys/pending/
Droute.c209 unsigned int addr_mask = (((struct sockaddr_in *)&((rt)->rt_genmask))->sin_addr.s_addr); in get_next_params() local
211 if (addr_mask) help_exit("dup netmask"); in get_next_params()
245 unsigned int addr_mask = (((struct sockaddr_in *)&((rt)->rt_genmask))->sin_addr.s_addr); in verify_netmask() local
248 if (addr_mask) { in verify_netmask()
249 addr_mask = ~ntohl(addr_mask); in verify_netmask()
250 if ((rt->rt_flags & RTF_HOST) && addr_mask != INVALID_ADDR) in verify_netmask()
252 if (addr_mask & (addr_mask + 1)) perror_exit("wrong netmask '%s'", netmask); in verify_netmask()
253 addr_mask = ((struct sockaddr_in *) &rt->rt_dst)->sin_addr.s_addr; in verify_netmask()
254 if (addr_mask & router_addr) perror_exit("conflicting netmask and route address"); in verify_netmask()
/third_party/iptables/iptables/
Dxtables.c267 const struct addr_mask s, in add_entry()
268 const struct addr_mask d, in add_entry()
323 const struct addr_mask s, in replace_entry()
324 const struct addr_mask d, in replace_entry()
347 const struct addr_mask s, in delete_entry()
348 const struct addr_mask d, in delete_entry()
388 const struct addr_mask s, in check_entry()
389 const struct addr_mask d, in check_entry()
Dnft-shared.h175 struct addr_mask { struct
199 struct addr_mask s, d; argument