Searched defs:maskp (Results 1 - 4 of 4) sorted by relevance
/external/iptables/extensions/ |
H A D | libebt_ip.c | 241 struct in_addr *addrp, *maskp; local 248 maskp = (struct in_addr *)&info->smsk; 250 xtables_ipmask_to_numeric(maskp)); 257 maskp = (struct in_addr *)&info->dmsk; 259 xtables_ipmask_to_numeric(maskp));
|
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/ |
H A D | libbitmask.c | 35 unsigned long *maskp; member in struct:bitmask 49 * routines that actually understand the layout of bmp->maskp[]. 62 return (bmp->maskp[n / bitsperlong] >> (n % bitsperlong)) & 1; 72 bmp->maskp[n / bitsperlong] |= 1UL << (n % bitsperlong); 74 bmp->maskp[n / bitsperlong] &= 92 bmp->maskp = calloc(longsperbits(n), sizeof(unsigned long)); 93 if (bmp->maskp == 0) { 105 free(bmp->maskp); 106 bmp->maskp = (unsigned long *)0xdeadcdef; /* double free tripwire */ 391 return bmp->maskp; [all...] |
/external/iptables/iptables/ |
H A D | xtables-arp.c | 676 struct in_addr *maskp, unsigned int *naddrs) 689 inaddrcpy(maskp, addrp); 692 if (maskp->s_addr == 0L) 698 addrp[j++].s_addr &= maskp->s_addr; 675 parse_hostnetworkmask(const char *name, struct in_addr **addrpp, struct in_addr *maskp, unsigned int *naddrs) argument
|
/external/iptables/libxtables/ |
H A D | xtables.c | 1523 struct in_addr *maskp, unsigned int *naddrs) 1537 memcpy(maskp, addrp, sizeof(*maskp)); 1540 if (maskp->s_addr == 0U) 1546 addrp[j++].s_addr &= maskp->s_addr; 1817 struct in6_addr *maskp, unsigned int *naddrs) 1832 memcpy(maskp, addrp, sizeof(*maskp)); 1835 if (memcmp(maskp, &zero_addr, sizeof(zero_addr)) == 0) 1842 addrp[j].s6_addr32[k] &= maskp 1522 xtables_ipparse_any(const char *name, struct in_addr **addrpp, struct in_addr *maskp, unsigned int *naddrs) argument 1816 xtables_ip6parse_any(const char *name, struct in6_addr **addrpp, struct in6_addr *maskp, unsigned int *naddrs) argument [all...] |
Completed in 292 milliseconds