/external/iproute2/ip/ |
D | tcp_metrics.c | 120 daddr.bytelen = 4; in process_msg() 129 daddr.bytelen = 16; in process_msg() 142 saddr.bytelen = 4; in process_msg() 150 saddr.bytelen = 16; in process_msg() 171 daddr.bytelen); in process_msg() 174 saddr.bytelen); in process_msg() 340 if (f.saddr.bytelen && f.saddr.bytelen * 8 == f.saddr.bitlen) { in tcpm_do_cmd() 366 if (f.daddr.bytelen && f.daddr.bytelen * 8 == f.daddr.bitlen) { in tcpm_do_cmd() 410 f.daddr.bytelen); in tcpm_do_cmd() 413 f.saddr.bytelen); in tcpm_do_cmd()
|
D | ipmaddr.c | 110 ma->addr.bytelen = len; in read_dev_mcast() 125 .addr.bytelen = 4, in read_igmp() 187 ma->addr.bytelen = len; in read_igmp6() 202 list->addr.bytelen, 0, in print_maddr()
|
D | iproute.c | 762 rta_addattr_l(rta, 4096, RTA_GATEWAY, &addr.data, addr.bytelen); in parse_one_nh() 763 rtnh->rtnh_len += sizeof(struct rtattr) + addr.bytelen; in parse_one_nh() 765 rta_addattr_l(rta, 4096, RTA_VIA, &addr.family, addr.bytelen+2); in parse_one_nh() 766 rtnh->rtnh_len += RTA_SPACE(addr.bytelen+2); in parse_one_nh() 804 addr.bytelen); in parse_one_nh() 805 rtnh->rtnh_len += sizeof(struct rtattr) + addr.bytelen; in parse_one_nh() 889 addattr_l(&req.n, sizeof(req), RTA_PREFSRC, &addr.data, addr.bytelen); in iproute_modify() 900 addattr_l(&req.n, sizeof(req), RTA_NEWDST, &addr.data, addr.bytelen); in iproute_modify() 921 &addr.data, addr.bytelen); in iproute_modify() 924 &addr.family, addr.bytelen+2); in iproute_modify() [all …]
|
D | iptoken.c | 131 inet_prefix addr = { .bytelen = 16, }; in iptoken_set() 165 &addr.data, addr.bytelen); in iptoken_set()
|
D | ipl2tp.c | 114 p->local_ip.bytelen); in create_tunnel() 119 p->peer_ip.bytelen); in create_tunnel() 358 p->local_ip.bytelen = 4; in get_response() 364 p->peer_ip.bytelen = 4; in get_response() 370 p->local_ip.bytelen = 16); in get_response() 376 p->peer_ip.bytelen = 16); in get_response()
|
D | link_vti6.c | 169 memcpy(&daddr, addr.data, addr.bytelen); in vti6_parse_opt() 180 memcpy(&saddr, addr.data, addr.bytelen); in vti6_parse_opt()
|
D | iproute_lwtunnel.c | 564 addr.bytelen); in parse_encap_seg6local() 571 addr.bytelen); in parse_encap_seg6local() 654 addr.bytelen); in parse_encap_mpls() 710 &addr.data, addr.bytelen); in parse_encap_ip() 816 &addr.data, addr.bytelen); in parse_encap_ip6()
|
D | ipaddress.c | 2316 if (lcl->bytelen >= 1 && *(__u8 *)&lcl->data == 127) in default_scope() 2368 peer_len = peer.bytelen; in ipaddr_modify() 2371 addattr_l(&req.n, sizeof(req), IFA_ADDRESS, &peer.data, peer.bytelen); in ipaddr_modify() 2388 addattr_l(&req.n, sizeof(req), IFA_BROADCAST, &addr.data, addr.bytelen); in ipaddr_modify() 2389 brd_len = addr.bytelen; in ipaddr_modify() 2400 addattr_l(&req.n, sizeof(req), IFA_ANYCAST, &addr.data, addr.bytelen); in ipaddr_modify() 2401 any_len = addr.bytelen; in ipaddr_modify() 2452 addattr_l(&req.n, sizeof(req), IFA_LOCAL, &lcl.data, lcl.bytelen); in ipaddr_modify() 2453 local_len = lcl.bytelen; in ipaddr_modify() 2480 addattr_l(&req.n, sizeof(req), IFA_ADDRESS, &lcl.data, lcl.bytelen); in ipaddr_modify() [all …]
|
D | link_ip6tnl.c | 186 memcpy(&raddr, addr.data, addr.bytelen); in ip6tunnel_parse_opt() 194 memcpy(&laddr, addr.data, addr.bytelen); in ip6tunnel_parse_opt()
|
D | ipaddrlabel.c | 173 addattr_l(&req.n, sizeof(req), IFAL_ADDRESS, &prefix.data, prefix.bytelen); in ipaddrlabel_modify()
|
D | iprule.c | 613 &dst.data, dst.bytelen); in iprule_modify() 621 &dst.data, dst.bytelen); in iprule_modify()
|
D | ipneigh.c | 165 if (addattr_l(&req.n, sizeof(req), NDA_DST, &dst.data, dst.bytelen) < 0) in ipneigh_modify()
|
D | xfrm_state.c | 403 if (coa.bytelen > sizeof(xcoa)) in xfrm_state_modify() 406 memcpy(&xcoa, &coa.data, coa.bytelen); in xfrm_state_modify()
|
/external/tcpdump/ |
D | print-ospf6.c | 468 register int bytelen; in ospf6_print_lsa() local 575 bytelen = ospf6_print_lsaprefix(ndo, tptr, lsa_length); in ospf6_print_lsa() 576 if (bytelen < 0) in ospf6_print_lsa() 578 lsa_length -= bytelen; in ospf6_print_lsa() 579 tptr += bytelen; in ospf6_print_lsa() 597 bytelen = ospf6_print_lsaprefix(ndo, tptr, lsa_length); in ospf6_print_lsa() 598 if (bytelen < 0) in ospf6_print_lsa() 600 lsa_length -= bytelen; in ospf6_print_lsa() 601 tptr += bytelen; in ospf6_print_lsa() 660 bytelen = ospf6_print_lsaprefix(ndo, tptr, lsa_length); in ospf6_print_lsa() [all …]
|
D | print-domain.c | 66 int bitlen, bytelen; in ns_nskip() local 74 bytelen = (bitlen + 7) / 8; in ns_nskip() 75 cp += bytelen; in ns_nskip()
|
/external/iproute2/lib/ |
D | utils.c | 480 addr->bytelen = (family == AF_INET6 ? 16 : 4); in get_addr_1() 494 addr->bytelen = len; in get_addr_1() 505 addr->bytelen = 16; in get_addr_1() 518 addr->bytelen = 2; in get_addr_1() 532 addr->bytelen = 4; in get_addr_1() 538 addr->bytelen = (i + 1)*4; in get_addr_1() 552 addr->bytelen = 4; in get_addr_1() 594 dst->bytelen = 0; in get_prefix_1() 916 n->addr.bytelen == len && in resolve_address() 924 n->addr.bytelen = len; in resolve_address()
|
/external/python/cpython2/Objects/ |
D | memoryobject.c | 630 Py_ssize_t start, len, bytelen; in memory_ass_sub() local 693 bytelen = len * view->itemsize; in memory_ass_sub() 694 if (bytelen != srcview.len) { in memory_ass_sub() 702 if (destbuf + bytelen < srcbuf || srcbuf + bytelen < destbuf) in memory_ass_sub() 704 memcpy(destbuf, srcbuf, bytelen); in memory_ass_sub() 706 memmove(destbuf, srcbuf, bytelen); in memory_ass_sub()
|
/external/iproute2/tc/ |
D | f_rsvp.c | 203 addattr_l(n, 4096, TCA_RSVP_DST, &addr.data, addr.bytelen); in rsvp_parse_opt() 216 addattr_l(n, 4096, TCA_RSVP_SRC, &addr.data, addr.bytelen); in rsvp_parse_opt()
|
D | f_flower.c | 256 addr.data, addr.bytelen); in __flower_parse_ip_addr() 258 memset(addr.data, 0xff, addr.bytelen); in __flower_parse_ip_addr() 260 for (i = 0; i < addr.bytelen / 4; i++) { in __flower_parse_ip_addr() 273 addr.data, addr.bytelen); in __flower_parse_ip_addr()
|
D | m_tunnel_key.c | 52 addr.data, addr.bytelen); in tunnel_key_parse_ip_addr()
|
D | m_pedit.c | 317 memcpy(val, addr.data, addr.bytelen); in parse_val()
|
/external/iproute2/misc/ |
D | ss.c | 1442 b->addr.bytelen = len; in remember_he() 1747 s->local.bytelen = s->remote.bytelen = 4; in proc_parse_inet_addr() 1762 s->local.bytelen = s->remote.bytelen = 16; in proc_parse_inet_addr() 2401 s->local.bytelen = s->remote.bytelen = 4; in parse_diag_msg() 2403 s->local.bytelen = s->remote.bytelen = 16; in parse_diag_msg() 2405 memcpy(s->local.data, r->id.idiag_src, s->local.bytelen); in parse_diag_msg() 2406 memcpy(s->remote.data, r->id.idiag_dst, s->local.bytelen); in parse_diag_msg()
|
/external/iproute2/include/ |
D | utils.h | 49 __u16 bytelen; member
|
/external/toybox/toys/pending/ |
D | ip.c | 1119 int family, bytelen, bitlen; in ipaddrupdate() member 1213 local.bytelen = len; in ipaddrupdate() 1217 IFA_LOCAL, &local.data, local.bytelen); in ipaddrupdate() 1229 IFA_ADDRESS, &local.data, local.bytelen); in ipaddrupdate() 1246 IFA_BROADCAST, &local.data, local.bytelen); in ipaddrupdate() 1247 length_brd = local.bytelen; in ipaddrupdate() 1253 && (local.bytelen >= 1 && *(uint8_t*)&local.data == 127)) in ipaddrupdate()
|
/external/iproute2/bridge/ |
D | fdb.c | 517 addattr_l(&req.n, sizeof(req), NDA_DST, &dst.data, dst.bytelen); in fdb_modify()
|