Home
last modified time | relevance | path

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

12

/external/iproute2/ip/
Dtcp_metrics.c120 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()
Dipmaddr.c110 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()
Diproute.c762 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 …]
Diptoken.c131 inet_prefix addr = { .bytelen = 16, }; in iptoken_set()
165 &addr.data, addr.bytelen); in iptoken_set()
Dipl2tp.c114 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()
Diproute_lwtunnel.c564 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()
Dlink_vti6.c169 memcpy(&daddr, addr.data, addr.bytelen); in vti6_parse_opt()
180 memcpy(&saddr, addr.data, addr.bytelen); in vti6_parse_opt()
Dipaddress.c2316 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 …]
Dlink_ip6tnl.c186 memcpy(&raddr, addr.data, addr.bytelen); in ip6tunnel_parse_opt()
194 memcpy(&laddr, addr.data, addr.bytelen); in ip6tunnel_parse_opt()
Dipaddrlabel.c173 addattr_l(&req.n, sizeof(req), IFAL_ADDRESS, &prefix.data, prefix.bytelen); in ipaddrlabel_modify()
/external/u-boot/drivers/spi/
Dlpc32xx_ssp.c122 int bytelen = bitlen >> 3; in spi_xfer() local
128 while ((idx_out < bytelen) || (idx_in < bytelen)) { in spi_xfer()
130 if ((idx_out < bytelen) && (status & SSP_SR_TNF)) in spi_xfer()
132 if ((idx_in < bytelen) && (status & SSP_SR_RNE)) in spi_xfer()
Dmvebu_a3700_spi.c79 static int spi_legacy_shift_byte(struct spi_reg *reg, unsigned int bytelen, in spi_legacy_shift_byte() argument
95 while (bytelen) { in spi_legacy_shift_byte()
127 bytelen--; in spi_legacy_shift_byte()
139 unsigned int bytelen; in mvebu_spi_xfer() local
142 bytelen = bitlen / 8; in mvebu_spi_xfer()
155 ret = spi_legacy_shift_byte(reg, bytelen, dout, din); in mvebu_spi_xfer()
Dexynos_spi.c327 int bytelen; in exynos_spi_xfer() local
345 bytelen = bitlen / 8; in exynos_spi_xfer()
346 for (upto = 0; !ret && upto < bytelen; upto += todo) { in exynos_spi_xfer()
347 todo = min(bytelen - upto, (1 << 16) - 4); in exynos_spi_xfer()
/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()
164 const char bytes[], size_t *pos, size_t bytelen) in decode_usascii() argument
168 for(; *pos < bytelen && *cpi < cplen; (*pos)++) { in decode_usascii()
189 const char bytes[], size_t *pos, size_t bytelen) in decode_table() argument
194 for(; *pos < bytelen && *cpi < cplen; (*pos)++) { in decode_table()
/external/tcpdump/
Dprint-ospf6.c468 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 …]
Dprint-domain.c66 int bitlen, bytelen; in ns_nskip() local
74 bytelen = (bitlen + 7) / 8; in ns_nskip()
75 cp += bytelen; in ns_nskip()
/external/u-boot/arch/arc/include/asm/
Dio.h114 static inline int __raw_readsb(unsigned int addr, void *data, int bytelen) in __raw_readsb() argument
121 : "r" (addr), "r" (data), "r" (bytelen) in __raw_readsb()
123 return bytelen; in __raw_readsb()
150 static inline int __raw_writesb(unsigned int addr, void *data, int bytelen) in __raw_writesb() argument
157 : "r" (addr), "r" (data), "r" (bytelen) in __raw_writesb()
159 return bytelen; in __raw_writesb()
/external/u-boot/arch/nds32/include/asm/
Dio.h74 extern void __raw_writesb(unsigned int addr, const void *data, int bytelen);
78 extern void __raw_readsb(unsigned int addr, void *data, int bytelen);
259 static inline void readsb(unsigned int *addr, void * data, int bytelen) in readsb() argument
263 while (bytelen) { in readsb()
266 bytelen--; in readsb()
291 static inline void writesb(unsigned int *addr, const void * data, int bytelen) in writesb() argument
295 while (bytelen) { in writesb()
298 bytelen--; in writesb()
/external/iproute2/lib/
Dutils.c480 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/
Dmemoryobject.c630 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/u-boot/arch/riscv/include/asm/
Dio.h277 static inline void readsb(unsigned int *addr, void *data, int bytelen) in readsb() argument
285 while (bytelen) { in readsb()
288 bytelen--; in readsb()
322 static inline void writesb(unsigned int *addr, const void *data, int bytelen) in writesb() argument
330 while (bytelen) { in writesb()
333 bytelen--; in writesb()
/external/u-boot/arch/arm/include/asm/
Dio.h53 int bytelen) in __raw_writesb() argument
56 while(bytelen--) in __raw_writesb()
76 static inline void __raw_readsb(unsigned long addr, void *data, int bytelen) in __raw_readsb() argument
79 while(bytelen--) in __raw_readsb()
/external/u-boot/arch/sh/include/asm/
Dio.h41 extern void __raw_writesb(unsigned int addr, const void *data, int bytelen);
45 extern void __raw_readsb(unsigned int addr, void *data, int bytelen);
/external/iproute2/tc/
Df_rsvp.c203 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()
Df_flower.c256 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()

12