Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-ospf6.c216 register int bytelen; in ospf6_print_lsa() local
323 bytelen = ospf6_print_lsaprefix(tptr, lsa_length); in ospf6_print_lsa()
324 if (bytelen < 0) in ospf6_print_lsa()
326 lsa_length -= bytelen; in ospf6_print_lsa()
327 tptr += bytelen; in ospf6_print_lsa()
345 bytelen = ospf6_print_lsaprefix(tptr, lsa_length); in ospf6_print_lsa()
346 if (bytelen < 0) in ospf6_print_lsa()
348 lsa_length -= bytelen; in ospf6_print_lsa()
349 tptr += bytelen; in ospf6_print_lsa()
407 bytelen = ospf6_print_lsaprefix(tptr, lsa_length); in ospf6_print_lsa()
[all …]
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/libvterm/src/
Dencoding.c30 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/iproute2/lib/
Dutils.c289 addr->bytelen = (family == AF_INET6 ? 16 : 4); in get_addr_1()
300 addr->bytelen = 16; in get_addr_1()
312 addr->bytelen = 2; in get_addr_1()
325 addr->bytelen = 4; in get_addr_1()
344 dst->bytelen = 0; in get_prefix_1()
574 n->addr.bytelen == len && in resolve_address()
581 n->addr.bytelen = len; in resolve_address()
/external/iproute2/ip/
Dipmaddr.c112 ma->addr.bytelen = len; in read_dev_mcast()
138 m.addr.bytelen = 4; in read_igmp()
188 ma->addr.bytelen = len; in read_igmp6()
203 list->addr.bytelen, 0, in print_maddr()
Dipaddress.c1043 if (lcl->bytelen >= 1 && *(__u8*)&lcl->data == 127) in default_scope()
1087 peer_len = peer.bytelen; in ipaddr_modify()
1090 addattr_l(&req.n, sizeof(req), IFA_ADDRESS, &peer.data, peer.bytelen); in ipaddr_modify()
1106 addattr_l(&req.n, sizeof(req), IFA_BROADCAST, &addr.data, addr.bytelen); in ipaddr_modify()
1107 brd_len = addr.bytelen; in ipaddr_modify()
1117 addattr_l(&req.n, sizeof(req), IFA_ANYCAST, &addr.data, addr.bytelen); in ipaddr_modify()
1118 any_len = addr.bytelen; in ipaddr_modify()
1163 addattr_l(&req.n, sizeof(req), IFA_LOCAL, &lcl.data, lcl.bytelen); in ipaddr_modify()
1164 local_len = lcl.bytelen; in ipaddr_modify()
1186 addattr_l(&req.n, sizeof(req), IFA_ADDRESS, &lcl.data, lcl.bytelen); in ipaddr_modify()
[all …]
Diproute.c745 addattr_l(&req.n, sizeof(req), RTA_PREFSRC, &addr.data, addr.bytelen); in iproute_modify()
753 addattr_l(&req.n, sizeof(req), RTA_GATEWAY, &addr.data, addr.bytelen); in iproute_modify()
760 if (addr.bytelen) in iproute_modify()
761 addattr_l(&req.n, sizeof(req), RTA_SRC, &addr.data, addr.bytelen); in iproute_modify()
961 if (dst.bytelen) in iproute_modify()
962 addattr_l(&req.n, sizeof(req), RTA_DST, &dst.data, dst.bytelen); in iproute_modify()
1394 if (addr.bytelen) in iproute_get()
1395 addattr_l(&req.n, sizeof(req), RTA_SRC, &addr.data, addr.bytelen); in iproute_get()
1426 if (addr.bytelen) in iproute_get()
1427 addattr_l(&req.n, sizeof(req), RTA_DST, &addr.data, addr.bytelen); in iproute_get()
Diprule.c271 addattr_l(&req.n, sizeof(req), FRA_SRC, &dst.data, dst.bytelen); in iprule_modify()
277 addattr_l(&req.n, sizeof(req), FRA_DST, &dst.data, dst.bytelen); in iprule_modify()
Dipaddrlabel.c180 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.c336 if (coa.bytelen > sizeof(xcoa)) in xfrm_state_modify()
340 memcpy(&xcoa, &coa.data, coa.bytelen); in xfrm_state_modify()
/external/iproute2/misc/
Dss.c955 b->addr.bytelen = len; in remember_he()
1202 s.local.bytelen = s.remote.bytelen = 4; in tcp_show_line()
1216 s.local.bytelen = s.remote.bytelen = 16; in tcp_show_line()
1435 s.local.bytelen = s.remote.bytelen = 4; in tcp_show_sock()
1437 s.local.bytelen = s.remote.bytelen = 16; in tcp_show_sock()
1439 memcpy(s.local.data, r->id.idiag_src, s.local.bytelen); in tcp_show_sock()
1440 memcpy(s.remote.data, r->id.idiag_dst, s.local.bytelen); in tcp_show_sock()
1810 s.local.bytelen = s.remote.bytelen = 4; in dgram_show_line()
1824 s.local.bytelen = s.remote.bytelen = 16; in dgram_show_line()
/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/iproute2/include/
Dutils.h47 __u8 bytelen; member
/external/toybox/toys/pending/
Dip.c1074 int family, bytelen, bitlen; in ipaddrupdate() member
1168 local.bytelen = len; in ipaddrupdate()
1172 IFA_LOCAL, &local.data, local.bytelen); in ipaddrupdate()
1184 IFA_ADDRESS, &local.data, local.bytelen); in ipaddrupdate()
1201 IFA_BROADCAST, &local.data, local.bytelen); in ipaddrupdate()
1202 length_brd = local.bytelen; in ipaddrupdate()
1208 && (local.bytelen >= 1 && *(uint8_t*)&local.data == 127)) in ipaddrupdate()