Home
last modified time | relevance | path

Searched refs:bytelen (Results 1 – 14 of 14) sorted by relevance

/external/iproute2/lib/
Dutils.c284 addr->bytelen = (family == AF_INET6 ? 16 : 4); in get_addr_1()
295 addr->bytelen = 16; in get_addr_1()
307 addr->bytelen = 2; in get_addr_1()
320 addr->bytelen = 4; in get_addr_1()
339 dst->bytelen = 0; in get_prefix_1()
569 n->addr.bytelen == len && in resolve_address()
576 n->addr.bytelen = len; in resolve_address()
/external/iproute2/ip/
Dipmaddr.c112 ma->addr.bytelen = len; in read_dev_mcast()
135 m.addr.bytelen = 4; in read_igmp()
185 ma->addr.bytelen = len; in read_igmp6()
200 list->addr.bytelen, 0, in print_maddr()
Dipaddress.c976 if (lcl->bytelen >= 1 && *(__u8*)&lcl->data == 127) in default_scope()
1020 peer_len = peer.bytelen; in ipaddr_modify()
1023 addattr_l(&req.n, sizeof(req), IFA_ADDRESS, &peer.data, peer.bytelen); in ipaddr_modify()
1039 addattr_l(&req.n, sizeof(req), IFA_BROADCAST, &addr.data, addr.bytelen); in ipaddr_modify()
1040 brd_len = addr.bytelen; in ipaddr_modify()
1050 addattr_l(&req.n, sizeof(req), IFA_ANYCAST, &addr.data, addr.bytelen); in ipaddr_modify()
1051 any_len = addr.bytelen; in ipaddr_modify()
1096 addattr_l(&req.n, sizeof(req), IFA_LOCAL, &lcl.data, lcl.bytelen); in ipaddr_modify()
1097 local_len = lcl.bytelen; in ipaddr_modify()
1119 addattr_l(&req.n, sizeof(req), IFA_ADDRESS, &lcl.data, lcl.bytelen); in ipaddr_modify()
[all …]
Diproute.c705 addattr_l(&req.n, sizeof(req), RTA_PREFSRC, &addr.data, addr.bytelen); in iproute_modify()
713 addattr_l(&req.n, sizeof(req), RTA_GATEWAY, &addr.data, addr.bytelen); in iproute_modify()
720 if (addr.bytelen) in iproute_modify()
721 addattr_l(&req.n, sizeof(req), RTA_SRC, &addr.data, addr.bytelen); in iproute_modify()
929 if (dst.bytelen) in iproute_modify()
930 addattr_l(&req.n, sizeof(req), RTA_DST, &dst.data, dst.bytelen); in iproute_modify()
1320 if (addr.bytelen) in iproute_get()
1321 addattr_l(&req.n, sizeof(req), RTA_SRC, &addr.data, addr.bytelen); in iproute_get()
1344 if (addr.bytelen) in iproute_get()
1345 addattr_l(&req.n, sizeof(req), RTA_DST, &addr.data, addr.bytelen); in iproute_get()
Diprule.c258 addattr_l(&req.n, sizeof(req), FRA_SRC, &dst.data, dst.bytelen); in iprule_modify()
264 addattr_l(&req.n, sizeof(req), FRA_DST, &dst.data, dst.bytelen); in iprule_modify()
Dipaddrlabel.c186 addattr_l(&req.n, sizeof(req), IFAL_ADDRESS, &prefix.data, prefix.bytelen); in ipaddrlabel_modify()
Dipneigh.c160 addattr_l(&req.n, sizeof(req), NDA_DST, &dst.data, dst.bytelen); in ipneigh_modify()
Dxfrm_state.c331 if (coa.bytelen > sizeof(xcoa)) in xfrm_state_modify()
335 memcpy(&xcoa, &coa.data, coa.bytelen); in xfrm_state_modify()
/external/iproute2/misc/
Dss.c946 b->addr.bytelen = len; in remember_he()
1193 s.local.bytelen = s.remote.bytelen = 4; in tcp_show_line()
1207 s.local.bytelen = s.remote.bytelen = 16; in tcp_show_line()
1414 s.local.bytelen = s.remote.bytelen = 4; in tcp_show_sock()
1416 s.local.bytelen = s.remote.bytelen = 16; in tcp_show_sock()
1418 memcpy(s.local.data, r->id.idiag_src, s.local.bytelen); in tcp_show_sock()
1419 memcpy(s.remote.data, r->id.idiag_dst, s.local.bytelen); in tcp_show_sock()
1774 s.local.bytelen = s.remote.bytelen = 4; in dgram_show_line()
1788 s.local.bytelen = s.remote.bytelen = 16; in dgram_show_line()
/external/tcpdump/
Dprint-domain.c68 int bitlen, bytelen; in ns_nskip() local
76 bytelen = (bitlen + 7) / 8; in ns_nskip()
77 cp += bytelen; in ns_nskip()
/external/iproute2/tc/
Df_rsvp.c202 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/kernel-headers/original/asm-arm/
Dio.h41 extern void __raw_writesb(void __iomem *addr, const void *data, int bytelen);
45 extern void __raw_readsb(const void __iomem *addr, void *data, int bytelen);
/external/iproute2/include/
Dutils.h46 __u8 bytelen; member
/external/openssl/crypto/x509v3/
Dv3_addr.c429 int bytelen = (prefixlen + 7) / 8, bitlen = prefixlen % 8; in make_addressPrefix() local
438 if (!ASN1_BIT_STRING_set(aor->u.addressPrefix, addr, bytelen)) in make_addressPrefix()
443 aor->u.addressPrefix->data[bytelen - 1] &= ~(0xFF >> bitlen); in make_addressPrefix()