/external/iproute2/ip/ |
D | tcp_metrics.c | 121 daddr.bytelen = 4; in process_msg() 131 daddr.bytelen = 16; in process_msg() 144 saddr.bytelen = 4; in process_msg() 153 saddr.bytelen = 16; in process_msg() 174 daddr.bytelen); in process_msg() 177 saddr.bytelen); in process_msg() 343 if (f.saddr.bytelen && f.saddr.bytelen * 8 == f.saddr.bitlen) { in tcpm_do_cmd() 368 if (f.daddr.bytelen && f.daddr.bytelen * 8 == f.daddr.bitlen) { in tcpm_do_cmd() 420 f.daddr.bytelen); in tcpm_do_cmd() 423 f.saddr.bytelen); in tcpm_do_cmd()
|
D | ipmaddr.c | 113 ma->addr.bytelen = len; in read_dev_mcast() 139 m.addr.bytelen = 4; in read_igmp() 189 ma->addr.bytelen = len; in read_igmp6() 204 list->addr.bytelen, 0, in print_maddr()
|
D | iproute.c | 745 rta_addattr_l(rta, 4096, RTA_GATEWAY, &addr.data, addr.bytelen); in parse_one_nh() 746 rtnh->rtnh_len += sizeof(struct rtattr) + addr.bytelen; in parse_one_nh() 748 rta_addattr_l(rta, 4096, RTA_VIA, &addr.family, addr.bytelen+2); in parse_one_nh() 749 rtnh->rtnh_len += sizeof(struct rtattr) + addr.bytelen+2; in parse_one_nh() 862 addattr_l(&req.n, sizeof(req), RTA_PREFSRC, &addr.data, addr.bytelen); in iproute_modify() 872 addattr_l(&req.n, sizeof(req), RTA_NEWDST, &addr.data, addr.bytelen); in iproute_modify() 887 addattr_l(&req.n, sizeof(req), RTA_GATEWAY, &addr.data, addr.bytelen); in iproute_modify() 889 addattr_l(&req.n, sizeof(req), RTA_VIA, &addr.family, addr.bytelen+2); in iproute_modify() 896 if (addr.bytelen) in iproute_modify() 897 addattr_l(&req.n, sizeof(req), RTA_SRC, &addr.data, addr.bytelen); in iproute_modify() [all …]
|
D | ipl2tp.c | 111 addattr_l(&req.n, 1024, local_attr, &p->local_ip.data, p->local_ip.bytelen); in create_tunnel() 115 addattr_l(&req.n, 1024, peer_attr, &p->peer_ip.data, p->peer_ip.bytelen); in create_tunnel() 301 p->local_ip.bytelen = 4; in get_response() 307 p->peer_ip.bytelen = 4; in get_response() 313 p->local_ip.bytelen = 16); in get_response() 319 p->peer_ip.bytelen = 16); in get_response()
|
D | iproute_lwtunnel.c | 189 addr.bytelen); in parse_encap_mpls() 218 rta_addattr_l(rta, len, LWTUNNEL_IP_DST, &addr.data, addr.bytelen); in parse_encap_ip() 291 rta_addattr_l(rta, len, LWTUNNEL_IP6_DST, &addr.data, addr.bytelen); in parse_encap_ip6()
|
D | link_vti6.c | 164 memcpy(&daddr, addr.data, addr.bytelen); in vti6_parse_opt() 174 memcpy(&saddr, addr.data, addr.bytelen); in vti6_parse_opt()
|
D | ipaddress.c | 1743 if (lcl->bytelen >= 1 && *(__u8*)&lcl->data == 127) in default_scope() 1798 peer_len = peer.bytelen; in ipaddr_modify() 1801 addattr_l(&req.n, sizeof(req), IFA_ADDRESS, &peer.data, peer.bytelen); in ipaddr_modify() 1817 addattr_l(&req.n, sizeof(req), IFA_BROADCAST, &addr.data, addr.bytelen); in ipaddr_modify() 1818 brd_len = addr.bytelen; in ipaddr_modify() 1828 addattr_l(&req.n, sizeof(req), IFA_ANYCAST, &addr.data, addr.bytelen); in ipaddr_modify() 1829 any_len = addr.bytelen; in ipaddr_modify() 1880 addattr_l(&req.n, sizeof(req), IFA_LOCAL, &lcl.data, lcl.bytelen); in ipaddr_modify() 1881 local_len = lcl.bytelen; in ipaddr_modify() 1908 addattr_l(&req.n, sizeof(req), IFA_ADDRESS, &lcl.data, lcl.bytelen); in ipaddr_modify() [all …]
|
D | link_ip6tnl.c | 166 memcpy(&raddr, addr.data, addr.bytelen); in ip6tunnel_parse_opt() 173 memcpy(&laddr, addr.data, addr.bytelen); in ip6tunnel_parse_opt()
|
D | iptoken.c | 161 &addr.data, addr.bytelen); in iptoken_set()
|
D | ipaddrlabel.c | 179 addattr_l(&req.n, sizeof(req), IFAL_ADDRESS, &prefix.data, prefix.bytelen); in ipaddrlabel_modify()
|
D | iprule.c | 368 addattr_l(&req.n, sizeof(req), FRA_SRC, &dst.data, dst.bytelen); in iprule_modify() 374 addattr_l(&req.n, sizeof(req), FRA_DST, &dst.data, dst.bytelen); in iprule_modify()
|
D | ipneigh.c | 164 if (addattr_l(&req.n, sizeof(req), NDA_DST, &dst.data, dst.bytelen) < 0) in ipneigh_modify()
|
D | xfrm_state.c | 387 if (coa.bytelen > sizeof(xcoa)) in xfrm_state_modify() 391 memcpy(&xcoa, &coa.data, coa.bytelen); in xfrm_state_modify()
|
/external/libvterm/src/ |
D | encoding.c | 30 const char bytes[], size_t *pos, size_t bytelen) in decode_utf8() argument 38 for(; *pos < bytelen && *cpi < cplen; (*pos)++) { in decode_utf8() 156 const char bytes[], size_t *pos, size_t bytelen) in decode_usascii() argument 160 for(; *pos < bytelen && *cpi < cplen; (*pos)++) { in decode_usascii() 181 const char bytes[], size_t *pos, size_t bytelen) in decode_table() argument 186 for(; *pos < bytelen && *cpi < cplen; (*pos)++) { in decode_table()
|
/external/tcpdump/ |
D | print-ospf6.c | 467 register int bytelen; in ospf6_print_lsa() local 574 bytelen = ospf6_print_lsaprefix(ndo, tptr, lsa_length); in ospf6_print_lsa() 575 if (bytelen < 0) in ospf6_print_lsa() 577 lsa_length -= bytelen; in ospf6_print_lsa() 578 tptr += bytelen; in ospf6_print_lsa() 596 bytelen = ospf6_print_lsaprefix(ndo, tptr, lsa_length); in ospf6_print_lsa() 597 if (bytelen < 0) in ospf6_print_lsa() 599 lsa_length -= bytelen; in ospf6_print_lsa() 600 tptr += bytelen; in ospf6_print_lsa() 658 bytelen = ospf6_print_lsaprefix(ndo, tptr, lsa_length); in ospf6_print_lsa() [all …]
|
D | print-domain.c | 64 int bitlen, bytelen; in ns_nskip() local 72 bytelen = (bitlen + 7) / 8; in ns_nskip() 73 cp += bytelen; in ns_nskip()
|
/external/iproute2/lib/ |
D | utils.c | 432 addr->bytelen = (family == AF_INET6 ? 16 : 4); in get_addr_1() 444 addr->bytelen = len; in get_addr_1() 455 addr->bytelen = 16; in get_addr_1() 467 addr->bytelen = 2; in get_addr_1() 478 addr->bytelen = 4; in get_addr_1() 483 addr->bytelen = (i + 1)*4; in get_addr_1() 497 addr->bytelen = 4; in get_addr_1() 539 dst->bytelen = 0; in get_prefix_1() 801 n->addr.bytelen == len && in resolve_address() 808 n->addr.bytelen = len; in resolve_address()
|
/external/iproute2/tc/ |
D | f_flower.c | 115 addr.data, addr.bytelen); in flower_parse_ip_addr() 117 memset(addr.data, 0xff, addr.bytelen); in flower_parse_ip_addr() 119 for (i = 0; i < addr.bytelen / 4; i++) { in flower_parse_ip_addr() 132 addr.data, addr.bytelen); in flower_parse_ip_addr()
|
D | f_rsvp.c | 202 addattr_l(n, 4096, TCA_RSVP_DST, &addr.data, addr.bytelen); in rsvp_parse_opt() 214 addattr_l(n, 4096, TCA_RSVP_SRC, &addr.data, addr.bytelen); in rsvp_parse_opt()
|
/external/dhcpcd-6.8.2/ |
D | ipv6.c | 446 int bytelen, bitlen; in ipv6_makeprefix() local 453 bytelen = len / NBBY; in ipv6_makeprefix() 455 memcpy(&prefix->s6_addr, &addr->s6_addr, (size_t)bytelen); in ipv6_makeprefix() 457 prefix->s6_addr[bytelen] = in ipv6_makeprefix() 458 (uint8_t)(prefix->s6_addr[bytelen] >> (NBBY - bitlen)); in ipv6_makeprefix() 459 memset((char *)prefix->s6_addr + bytelen, 0, in ipv6_makeprefix() 460 sizeof(prefix->s6_addr) - (size_t)bytelen); in ipv6_makeprefix()
|
/external/iproute2/misc/ |
D | ss.c | 1328 b->addr.bytelen = len; in remember_he() 1596 s->local.bytelen = s->remote.bytelen = 4; in proc_parse_inet_addr() 1611 s->local.bytelen = s->remote.bytelen = 16; in proc_parse_inet_addr() 2019 s.local.bytelen = s.remote.bytelen = 4; in inet_show_sock() 2021 s.local.bytelen = s.remote.bytelen = 16; in inet_show_sock() 2024 memcpy(s.local.data, r->id.idiag_src, s.local.bytelen); in inet_show_sock() 2025 memcpy(s.remote.data, r->id.idiag_dst, s.local.bytelen); in inet_show_sock()
|
/external/iproute2/include/ |
D | utils.h | 60 __u16 bytelen; member
|
/external/toybox/toys/pending/ |
D | ip.c | 1069 int family, bytelen, bitlen; in ipaddrupdate() member 1163 local.bytelen = len; in ipaddrupdate() 1167 IFA_LOCAL, &local.data, local.bytelen); in ipaddrupdate() 1179 IFA_ADDRESS, &local.data, local.bytelen); in ipaddrupdate() 1196 IFA_BROADCAST, &local.data, local.bytelen); in ipaddrupdate() 1197 length_brd = local.bytelen; in ipaddrupdate() 1203 && (local.bytelen >= 1 && *(uint8_t*)&local.data == 127)) in ipaddrupdate()
|
/external/iproute2/bridge/ |
D | fdb.c | 348 addattr_l(&req.n, sizeof(req), NDA_DST, &dst.data, dst.bytelen); in fdb_modify()
|