Home
last modified time | relevance | path

Searched refs:host_len (Results 1 – 4 of 4) sorted by relevance

/external/boringssl/src/crypto/bio/
Dconnect.c121 size_t host_len = 0; in split_host_and_port() local
132 host_len = close - host; in split_host_and_port()
142 host_len = strlen(name); in split_host_and_port()
145 host_len = colon - name; in split_host_and_port()
150 *out_host = BUF_strndup(host, host_len); in split_host_and_port()
/external/iproute2/ip/
Diproute.c140 static int filter_nlmsg(struct nlmsghdr *n, struct rtattr **tb, int host_len) in filter_nlmsg() argument
225 memcpy(&via.data, RTA_DATA(tb[RTA_GATEWAY]), host_len/8); in filter_nlmsg()
237 memcpy(&prefsrc.data, RTA_DATA(tb[RTA_PREFSRC]), host_len/8); in filter_nlmsg()
315 int host_len; in print_route() local
333 host_len = af_bit_len(r->rtm_family); in print_route()
338 if (!filter_nlmsg(n, tb, host_len)) in print_route()
364 if (r->rtm_dst_len != host_len) { in print_route()
384 if (r->rtm_src_len != host_len) { in print_route()
417 if (tb[RTA_GATEWAY] && filter.rvia.bitlen != host_len) { in print_route()
443 if (tb[RTA_PREFSRC] && filter.rprefsrc.bitlen != host_len) { in print_route()
[all …]
Diprule.c55 int host_len = -1; in print_rule() local
70 host_len = af_bit_len(r->rtm_family); in print_rule()
84 if (r->rtm_src_len != host_len) { in print_rule()
105 if (r->rtm_dst_len != host_len) { in print_rule()
/external/wpa_supplicant_8/src/wps/
Dwps_upnp.c321 size_t host_len, path_len; in subscr_addr_add_url() local
378 host_len = os_strlen(host); in subscr_addr_add_url()
380 alloc_len = host_len + 1 + 1 + path_len + 1; in subscr_addr_add_url()
397 os_memcpy(mem, host, host_len); in subscr_addr_add_url()
398 mem += host_len + 1; in subscr_addr_add_url()