Searched refs:masklen (Results 1 – 9 of 9) 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() 296 addr_host_is_all0s(const struct xaddr *a, u_int masklen) in addr_host_is_all0s() argument 301 if (addr_hostmask(a->af, masklen, &tmp_mask) == -1) in addr_host_is_all0s() 316 long unsigned int masklen = 999; in addr_pton_cidr() local 326 masklen = strtoul(mp, &cp, 10); in addr_pton_cidr() 327 if (*mp == '\0' || *cp != '\0' || masklen > 128) in addr_pton_cidr() 335 masklen = addr_unicast_masklen(tmp.af); in addr_pton_cidr() 336 if (masklen_valid(tmp.af, masklen) == -1) in addr_pton_cidr() [all …]
|
D | sshd_config.0 | 84 address/masklen format. The allow/deny directives are processed 320 additionally contain addresses to match in CIDR address/masklen 619 addresses to match in CIDR address/masklen format, such as
|
D | sshd.0 | 310 using CIDR address/masklen notation.
|
/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/dhcpcd-6.8.2/ |
D | ifaddrs.c | 38 int masklen; in get_interface() local 45 if (ifc_get_info(name, &addr, &masklen, &flags)) in get_interface() 72 if (masklen != 0) { in get_interface() 75 smask->sin_addr.s_addr = prefixLengthToIpv4Netmask(masklen); in get_interface()
|
/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 | 72 size_t masklen = 0; in rtnl_meta_value_alloc_id() local 81 masklen = 8; in rtnl_meta_value_alloc_id() 84 return meta_alloc(type, id, shift, &mask, masklen); in rtnl_meta_value_alloc_id()
|
/external/libpcap/ |
D | gencode.c | 6504 unsigned int masklen, struct qual q) in gen_mcode() argument 6522 if (masklen > 32) in gen_mcode() 6524 if (masklen == 0) { in gen_mcode() 6531 m = 0xffffffff << (32 - masklen); in gen_mcode() 6534 s1, masklen); in gen_mcode() 6660 unsigned int masklen, struct qual q) in gen_mcode6() argument 6679 if (sizeof(mask) * 8 < masklen) in gen_mcode6() 6682 memset(&mask, 0xff, masklen / 8); in gen_mcode6() 6683 if (masklen % 8) { in gen_mcode6() 6684 mask.s6_addr[masklen / 8] = in gen_mcode6() [all …]
|