Searched refs:masklen (Results 1 – 7 of 7) sorted by relevance
/external/openssh/ |
D | addrmatch.c | 64 masklen_valid(int af, u_int masklen) in masklen_valid() argument 68 return masklen <= 32 ? 0 : -1; in masklen_valid() 70 return masklen <= 128 ? 0 : -1; in masklen_valid() 295 addr_host_is_all0s(const struct xaddr *a, u_int masklen) in addr_host_is_all0s() argument 300 if (addr_hostmask(a->af, masklen, &tmp_mask) == -1) in addr_host_is_all0s() 315 long unsigned int masklen = 999; in addr_pton_cidr() local 325 masklen = strtoul(mp, &cp, 10); in addr_pton_cidr() 326 if (*mp == '\0' || *cp != '\0' || masklen > 128) in addr_pton_cidr() 334 masklen = addr_unicast_masklen(tmp.af); in addr_pton_cidr() 335 if (masklen_valid(tmp.af, masklen) == -1) in addr_pton_cidr() [all …]
|
/external/iproute2/examples/ |
D | dhcp-client-script | 45 local masklen=0 53 masklen=8 58 masklen=16 63 masklen=24 71 return $[ $? + $masklen ] 128 local masklen=32 239 local masklen
|
/external/iw/ |
D | coalesce.c | 238 int i, patlen, masklen, pkt_offset; in print_coalesce_handler() local 250 masklen = nla_len(patattr[NL80211_PKTPAT_MASK]); in print_coalesce_handler() 253 if (DIV_ROUND_UP(patlen, 8) != masklen) { in print_coalesce_handler()
|
D | wowlan.c | 433 int i, patlen, masklen; in print_wowlan_handler() local 442 masklen = nla_len(patattr[NL80211_PKTPAT_MASK]); in print_wowlan_handler() 444 if (DIV_ROUND_UP(patlen, 8) != masklen) { in print_wowlan_handler()
|
/external/libnl/lib/route/cls/ematch/ |
D | meta.c | 74 size_t masklen = 0; in rtnl_meta_value_alloc_id() local 83 masklen = 8; in rtnl_meta_value_alloc_id() 86 return meta_alloc(type, id, shift, &mask, masklen); in rtnl_meta_value_alloc_id()
|
/external/wayland/cursor/ |
D | convert_font.c | 417 const int masklen = strlen(mask); in find_mask_glyph() local 424 if ((l2 == len + masklen) && in find_mask_glyph() 426 (memcmp(g->name + len, mask, masklen) == 0)) { in find_mask_glyph()
|
/external/libpcap/ |
D | gencode.c | 6937 bpf_u_int32 masklen, struct qual q) in gen_mcode() argument 6966 if (masklen > 32) in gen_mcode() 6968 if (masklen == 0) { in gen_mcode() 6975 m = 0xffffffff << (32 - masklen); in gen_mcode() 6978 s1, masklen); in gen_mcode() 7115 bpf_u_int32 masklen, struct qual q) in gen_mcode6() argument 7141 if (masklen > sizeof(mask.s6_addr) * 8) in gen_mcode6() 7144 memset(&mask.s6_addr, 0xff, masklen / 8); in gen_mcode6() 7145 if (masklen % 8) { in gen_mcode6() 7146 mask.s6_addr[masklen / 8] = in gen_mcode6() [all …]
|