Home
last modified time | relevance | path

Searched refs:masklen (Results 1 – 9 of 9) sorted by relevance

/external/openssh/
Daddrmatch.c64 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 …]
Dsshd_config.084 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
Dsshd.0310 using CIDR address/masklen notation.
/external/iproute2/examples/
Ddhcp-client-script45 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/
Difaddrs.c38 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/
Dcoalesce.c238 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()
Dwowlan.c433 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/
Dmeta.c72 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/
Dgencode.c6504 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 …]