Home
last modified time | relevance | path

Searched refs:laddr (Results 1 – 25 of 47) sorted by relevance

12

/external/strace/
Ducopy.c65 vm_read_mem(const pid_t pid, void *const laddr, in vm_read_mem() argument
78 .iov_base = laddr, in vm_read_mem()
107 void *laddr) in umoven_peekdata() argument
142 memcpy(laddr, &u.x[residue], m); in umoven_peekdata()
145 laddr += m; in umoven_peekdata()
202 void *laddr) in umovestr_peekdata() argument
206 void *const orig_addr = laddr; in umovestr_peekdata()
238 memcpy(laddr, &u.x[residue], m); in umovestr_peekdata()
241 return (laddr - orig_addr) + residue; in umovestr_peekdata()
244 laddr += m; in umovestr_peekdata()
[all …]
Ddefs.h511 umoven(struct tcb *, kernel_ulong_t addr, unsigned int len, void *laddr);
519 tfetch_mem64(struct tcb *, uint64_t addr, unsigned int len, void *laddr);
523 unsigned int len, void *laddr) in tfetch_mem() argument
525 return tfetch_mem64(tcp, addr, len, laddr); in tfetch_mem()
535 unsigned int len, void *laddr);
539 unsigned int len, void *laddr) in tfetch_mem_ignore_syserror() argument
541 return tfetch_mem64_ignore_syserror(tcp, addr, len, laddr); in tfetch_mem_ignore_syserror()
549 unsigned int len, void *laddr);
555 unsigned int len, void *laddr) in umoven_or_printaddr() argument
557 return umoven_or_printaddr64(tcp, addr, len, laddr); in umoven_or_printaddr()
[all …]
/external/u-boot/board/kosagi/novena/
Dvideo.c63 const unsigned int laddr = NOVENA_IT6251_LVDSADDR; in it6251_is_stable() local
76 clkcnt = (i2c_reg_read(laddr, IT6251_REG_PCLK_CNT_LOW) & 0xff) | in it6251_is_stable()
77 ((i2c_reg_read(laddr, IT6251_REG_PCLK_CNT_HIGH) << 8) & in it6251_is_stable()
81 refstate = i2c_reg_read(laddr, IT6251_REF_STATE); in it6251_is_stable()
117 const unsigned int laddr = NOVENA_IT6251_LVDSADDR; in it6251_program_regs() local
131 i2c_reg_write(laddr, 0x05, 0xff); in it6251_program_regs()
132 i2c_reg_write(laddr, 0x05, 0x00); in it6251_program_regs()
135 i2c_reg_write(laddr, 0x3b, 0x42); in it6251_program_regs()
136 i2c_reg_write(laddr, 0x3b, 0x43); in it6251_program_regs()
139 i2c_reg_write(laddr, 0x3c, 0x08); in it6251_program_regs()
[all …]
/external/linux-kselftest/tools/testing/selftests/net/
Dpsock_snd.c172 struct sockaddr_ll laddr = {0}; in do_bind() local
174 laddr.sll_family = AF_PACKET; in do_bind()
175 laddr.sll_protocol = htons(ETH_P_IP); in do_bind()
176 laddr.sll_ifindex = if_nametoindex(cfg_ifname); in do_bind()
177 if (!laddr.sll_ifindex) in do_bind()
180 if (bind(fd, (void *)&laddr, sizeof(laddr))) in do_bind()
200 struct sockaddr_ll laddr = {0}; in do_send() local
202 laddr.sll_protocol = htons(ETH_P_IP); in do_send()
203 laddr.sll_ifindex = if_nametoindex(cfg_ifname); in do_send()
204 if (!laddr.sll_ifindex) in do_send()
[all …]
Dmsg_zerocopy.c485 struct sockaddr_ll laddr; in do_tx() local
511 memset(&laddr, 0, sizeof(laddr)); in do_tx()
512 laddr.sll_family = AF_PACKET; in do_tx()
513 laddr.sll_ifindex = cfg_ifindex; in do_tx()
514 laddr.sll_protocol = htons(proto); in do_tx()
515 laddr.sll_halen = ETH_ALEN; in do_tx()
517 memset(laddr.sll_addr, 0x06, ETH_ALEN); in do_tx()
519 msg.msg_name = &laddr; in do_tx()
520 msg.msg_namelen = sizeof(laddr); in do_tx()
/external/iptables/extensions/
Dlibxt_TPROXY.c35 .flags = XTOPT_PUT, XTOPT_POINTER(s, laddr)},
55 xtables_ipaddr_to_numeric((const struct in_addr *)&info->laddr), in tproxy_tg_print()
68 xtables_ipaddr_to_numeric(&info->laddr.in), in tproxy_tg_print4()
81 xtables_ip6addr_to_numeric(&info->laddr.in6), in tproxy_tg_print6()
92 xtables_ipaddr_to_numeric((const struct in_addr *)&info->laddr)); in tproxy_tg_save()
104 printf(" --on-ip %s", xtables_ipaddr_to_numeric(&info->laddr.in)); in tproxy_tg_save4()
116 printf(" --on-ip %s", xtables_ip6addr_to_numeric(&info->laddr.in6)); in tproxy_tg_save6()
132 info->laddr = cb->val.haddr.ip; in tproxy_tg0_parse()
/external/iproute2/ip/
Dip6tunnel.c81 rt_addr_n2a_r(AF_INET6, 16, &p->laddr, s2, sizeof(s2))); in print_tunnel()
174 inet_prefix laddr; in parse_args() local
177 get_prefix(&laddr, *argv, preferred_family); in parse_args()
178 if (laddr.family == AF_UNSPEC) in parse_args()
180 memcpy(&p->laddr, &laddr.data, sizeof(p->laddr)); in parse_args()
318 (IN6_IS_ADDR_UNSPECIFIED(&p1->laddr) || in ip6_tnl_parm_match()
319 IN6_ARE_ADDR_EQUAL(&p1->laddr, &p2->laddr)) && in ip6_tnl_parm_match()
Drtmon.c80 int laddr = 0; in main() local
121 laddr = 1; in main()
143 if (laddr) { in main()
Dlink_ip6tnl.c90 struct in6_addr laddr = {}; in ip6tunnel_parse_opt() local
132 memcpy(&laddr, RTA_DATA(iptuninfo[IFLA_IPTUN_LOCAL]), in ip6tunnel_parse_opt()
133 sizeof(laddr)); in ip6tunnel_parse_opt()
194 memcpy(&laddr, addr.data, addr.bytelen); in ip6tunnel_parse_opt()
314 addattr_l(n, 1024, IFLA_IPTUN_LOCAL, &laddr, sizeof(laddr)); in ip6tunnel_parse_opt()
Dlink_gre6.c97 struct in6_addr laddr = IN6ADDR_ANY_INIT; in gre_parse_opt() local
149 memcpy(&laddr, RTA_DATA(greinfo[IFLA_GRE_LOCAL]), sizeof(laddr)); in gre_parse_opt()
263 memcpy(&laddr, &addr.data, sizeof(laddr)); in gre_parse_opt()
381 addattr_l(n, 1024, IFLA_GRE_LOCAL, &laddr, sizeof(laddr)); in gre_parse_opt()
Dlink_iptnl.c92 __u32 laddr = 0; in iptunnel_parse_opt() local
137 laddr = rta_getattr_u32(iptuninfo[IFLA_IPTUN_LOCAL]); in iptunnel_parse_opt()
172 sizeof(laddr)); in iptunnel_parse_opt()
203 laddr = get_addr32(*argv); in iptunnel_parse_opt()
205 laddr = 0; in iptunnel_parse_opt()
351 addattr32(n, 1024, IFLA_IPTUN_LOCAL, laddr); in iptunnel_parse_opt()
/external/nist-sip/java/gov/nist/core/net/
DDefaultNetworkLayer.java83 public DatagramSocket createDatagramSocket(int port, InetAddress laddr) in createDatagramSocket() argument
86 if ( laddr.isMulticastAddress() ) { in createDatagramSocket()
89 ds.joinGroup( laddr ); in createDatagramSocket()
94 } else return new DatagramSocket(port, laddr); in createDatagramSocket()
/external/ltp/testcases/kernel/mem/mem/
Dmem02.c71 long laddr; in main() local
213 laddr = (long)memptr; in main()
214 if (((laddr >> pagesize) << pagesize) != laddr) { in main()
/external/tcpdump/
Dprint-dvmrp.c256 const u_char *laddr; in print_neighbors() local
263 laddr = bp; in print_neighbors()
271 ND_PRINT((ndo, " [%s ->", ipaddr_string(ndo, laddr))); in print_neighbors()
288 const u_char *laddr; in print_neighbors2() local
298 laddr = bp; in print_neighbors2()
306 ND_PRINT((ndo, " [%s -> ", ipaddr_string(ndo, laddr))); in print_neighbors2()
/external/curl/packages/OS400/
Dos400sys.c1279 struct sockaddr_storage laddr; in Curl_os400_connect() local
1281 i = convert_sockaddr(&laddr, destaddr, addrlen); in Curl_os400_connect()
1286 return connect(sd, (struct sockaddr *) &laddr, i); in Curl_os400_connect()
1295 struct sockaddr_storage laddr; in Curl_os400_bind() local
1297 i = convert_sockaddr(&laddr, localaddr, addrlen); in Curl_os400_bind()
1302 return bind(sd, (struct sockaddr *) &laddr, i); in Curl_os400_bind()
1312 struct sockaddr_storage laddr; in Curl_os400_sendto() local
1314 i = convert_sockaddr(&laddr, dstaddr, addrlen); in Curl_os400_sendto()
1319 return sendto(sd, buffer, buflen, flags, (struct sockaddr *) &laddr, i); in Curl_os400_sendto()
1333 struct sockaddr_storage laddr; in Curl_os400_recvfrom() local
[all …]
/external/toybox/toys/net/
Dnetstat.c125 } laddr, raddr; in show_ip() local
132 &num, &laddr.i6.u.a, &laddr.i6.u.b, &laddr.i6.u.c, in show_ip()
133 &laddr.i6.u.d, &lport, &raddr.i6.u.a, &raddr.i6.u.b, in show_ip()
140 &num, &laddr.i4.u, &lport, &raddr.i4.u, &rport, &state, &txq, in show_ip()
152 addr2str(nitems, &laddr, lport, lip, TT.wpad, label); in show_ip()
/external/openssh/regress/
Daddrmatch.sh10 user="$1"; addr="$2"; host="$3"; laddr="$4"; lport="$5"
15 -C user=${user},addr=${addr},host=${host},laddr=${laddr},lport=${lport} | \
/external/bcc/tools/
Dtcptop.py194 laddr=inet_ntop(AF_INET, pack("I", k.saddr)),
201 laddr=inet_ntop(AF_INET6, k.saddr),
256 k.laddr + ":" + str(k.lport),
283 k.laddr + ":" + str(k.lport),
Dsolisten.py161 address = inet_ntop(AF_INET, pack("I", event.laddr[0]))
163 address = inet_ntop(AF_INET6, event.laddr)
/external/kernel-headers/original/uapi/linux/netfilter/
Dxt_TPROXY.h14 __be32 laddr; member
21 union nf_inet_addr laddr; member
/external/iptables/include/linux/netfilter/
Dxt_TPROXY.h12 __be32 laddr; member
19 union nf_inet_addr laddr; member
/external/kernel-headers/original/uapi/linux/
Drds.h148 __be32 laddr; member
157 struct in6_addr laddr; member
169 __be32 laddr; member
179 struct in6_addr laddr; member
Dip6_tunnel.h35 struct in6_addr laddr; /* local tunnel end-point address */ member
47 struct in6_addr laddr; /* local tunnel end-point address */ member
/external/scapy/scapy/
Dutils6.py29 def construct_source_candidate_set(addr, plen, laddr): argument
58 cset = (x for x in laddr if x[1] == IPV6_ADDR_GLOBAL)
60 cset = (x for x in laddr if x[1] == IPV6_ADDR_LINKLOCAL)
62 cset = (x for x in laddr if x[1] == IPV6_ADDR_SITELOCAL)
67 cset = (x for x in laddr if x[1] == IPV6_ADDR_GLOBAL)
69 cset = (x for x in laddr if x[1] == IPV6_ADDR_LINKLOCAL)
71 cset = (x for x in laddr if x[1] == IPV6_ADDR_SITELOCAL)
73 cset = (x for x in laddr if x[1] == IPV6_ADDR_GLOBAL)
/external/iproute2/include/uapi/linux/
Dip6_tunnel.h33 struct in6_addr laddr; /* local tunnel end-point address */ member
45 struct in6_addr laddr; /* local tunnel end-point address */ member

12