Home
last modified time | relevance | path

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

/third_party/toybox/toys/pending/
Droute.c207 unsigned int addr_mask = (((struct sockaddr_in *)&((rt)->rt_genmask))->sin_addr.s_addr); in get_next_params() local
209 if (addr_mask) help_exit("dup netmask"); in get_next_params()
243 unsigned int addr_mask = (((struct sockaddr_in *)&((rt)->rt_genmask))->sin_addr.s_addr); in verify_netmask() local
246 if (addr_mask) { in verify_netmask()
247 addr_mask = ~ntohl(addr_mask); in verify_netmask()
248 if ((rt->rt_flags & RTF_HOST) && addr_mask != INVALID_ADDR) in verify_netmask()
250 if (addr_mask & (addr_mask + 1)) perror_exit("wrong netmask '%s'", netmask); in verify_netmask()
251 addr_mask = ((struct sockaddr_in *) &rt->rt_dst)->sin_addr.s_addr; in verify_netmask()
252 if (addr_mask & router_addr) perror_exit("conflicting netmask and route address"); in verify_netmask()
/third_party/rust/crates/libc/src/unix/linux_like/linux/
Dmod.rs558 pub addr_mask: u8,