Home
last modified time | relevance | path

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

/external/toybox/toys/pending/
Droute.c208 unsigned int addr_mask = (((struct sockaddr_in *)&((rt)->rt_genmask))->sin_addr.s_addr); in get_next_params() local
210 if (addr_mask) help_exit("dup netmask"); in get_next_params()
244 unsigned int addr_mask = (((struct sockaddr_in *)&((rt)->rt_genmask))->sin_addr.s_addr); in verify_netmask() local
247 if (addr_mask) { in verify_netmask()
248 addr_mask = ~ntohl(addr_mask); in verify_netmask()
249 if ((rt->rt_flags & RTF_HOST) && addr_mask != INVALID_ADDR) in verify_netmask()
251 if (addr_mask & (addr_mask + 1)) perror_exit("wrong netmask '%s'", netmask); in verify_netmask()
252 addr_mask = ((struct sockaddr_in *) &rt->rt_dst)->sin_addr.s_addr; in verify_netmask()
253 if (addr_mask & router_addr) perror_exit("conflicting netmask and route address"); in verify_netmask()
/external/iptables/iptables/
Dxtables.c413 const struct addr_mask s, in add_entry()
414 const struct addr_mask d, in add_entry()
469 const struct addr_mask s, in replace_entry()
470 const struct addr_mask d, in replace_entry()
493 const struct addr_mask s, in delete_entry()
494 const struct addr_mask d, in delete_entry()
534 const struct addr_mask s, in check_entry()
535 const struct addr_mask d, in check_entry()
Dnft-shared.h177 struct addr_mask { struct
201 struct addr_mask s, d; argument
/external/u-boot/drivers/net/
Dpch_gbe.c51 writel(0xfffe, &mac_regs->addr_mask); in pch_gbe_mac_write()
55 if (!(readl(&mac_regs->addr_mask) & PCH_GBE_BUSY)) in pch_gbe_mac_write()
Dpch_gbe.h257 u32 addr_mask; member