/external/strace/ |
D | ucopy.c | 65 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 …]
|
D | defs.h | 511 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/linux-kselftest/tools/testing/selftests/net/ |
D | psock_snd.c | 172 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 …]
|
D | txring_overwrite.c | 88 struct sockaddr_ll laddr = {}; in setup_tx() local 96 laddr.sll_family = AF_PACKET; in setup_tx() 97 laddr.sll_protocol = htons(0); in setup_tx() 98 laddr.sll_ifindex = if_nametoindex("lo"); in setup_tx() 99 if (!laddr.sll_ifindex) in setup_tx() 102 if (bind(fdt, (void *)&laddr, sizeof(laddr))) in setup_tx()
|
D | msg_zerocopy.c | 485 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/ |
D | libxt_TPROXY.c | 35 .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/curl/packages/OS400/ |
D | os400sys.c | 1311 struct sockaddr_storage laddr; in Curl_os400_connect() local 1313 i = sockaddr2ebcdic(&laddr, destaddr, addrlen); in Curl_os400_connect() 1318 return connect(sd, (struct sockaddr *) &laddr, i); in Curl_os400_connect() 1326 struct sockaddr_storage laddr; in Curl_os400_bind() local 1328 i = sockaddr2ebcdic(&laddr, localaddr, addrlen); in Curl_os400_bind() 1333 return bind(sd, (struct sockaddr *) &laddr, i); in Curl_os400_bind() 1342 struct sockaddr_storage laddr; in Curl_os400_sendto() local 1344 i = sockaddr2ebcdic(&laddr, dstaddr, addrlen); in Curl_os400_sendto() 1349 return sendto(sd, buffer, buflen, flags, (struct sockaddr *) &laddr, i); in Curl_os400_sendto() 1358 struct sockaddr_storage laddr; in Curl_os400_recvfrom() local [all …]
|
/external/iproute2/ip/ |
D | ip6tunnel.c | 81 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()
|
D | rtmon.c | 80 int laddr = 0; in main() local 121 laddr = 1; in main() 143 if (laddr) { in main()
|
/external/nist-sip/java/gov/nist/core/net/ |
D | DefaultNetworkLayer.java | 83 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/ |
D | mem02.c | 79 long laddr; in main() local 219 laddr = (long)memptr; in main() 220 if (((laddr >> pagesize_order) << pagesize_order) != laddr) { in main()
|
/external/tcpdump/ |
D | print-dvmrp.c | 256 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/openssh/regress/ |
D | addrmatch.sh | 10 user="$1"; addr="$2"; host="$3"; laddr="$4"; lport="$5" 15 -C user=${user},addr=${addr},host=${host},laddr=${laddr},lport=${lport} | \
|
/external/iptables/include/linux/netfilter/ |
D | xt_TPROXY.h | 12 __be32 laddr; member 19 union nf_inet_addr laddr; member
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
D | xt_TPROXY.h | 14 __be32 laddr; member 21 union nf_inet_addr laddr; member
|
/external/toybox/toys/net/ |
D | netstat.c | 110 } laddr, raddr; in show_ip() local 117 &num, &laddr.i6.u.a, &laddr.i6.u.b, &laddr.i6.u.c, in show_ip() 118 &laddr.i6.u.d, &lport, &raddr.i6.u.a, &raddr.i6.u.b, in show_ip() 125 &num, &laddr.i4.u, &lport, &raddr.i4.u, &rport, &state, &txq, in show_ip() 133 addr2str(af, &laddr, lport, lip, TT.wpad, label); in show_ip()
|
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/ |
D | ares_gethostbyaddr.c | 269 unsigned long laddr = ntohl(addr->addrV4.s_addr); in ptr_rr_name() local 270 unsigned long a1 = (laddr >> 24UL) & 0xFFUL; in ptr_rr_name() 271 unsigned long a2 = (laddr >> 16UL) & 0xFFUL; in ptr_rr_name() 272 unsigned long a3 = (laddr >> 8UL) & 0xFFUL; in ptr_rr_name() 273 unsigned long a4 = laddr & 0xFFUL; in ptr_rr_name()
|
/external/bcc/tools/ |
D | tcptop.py | 194 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),
|
/external/linux-kselftest/tools/testing/selftests/networking/timestamping/ |
D | txtimestamp.c | 388 struct sockaddr_ll laddr; in do_test() local 488 memset(&laddr, 0, sizeof(laddr)); in do_test() 490 laddr.sll_family = AF_PACKET; in do_test() 491 laddr.sll_ifindex = 1; in do_test() 492 laddr.sll_protocol = htons(family == AF_INET ? ETH_P_IP : ETH_P_IPV6); in do_test() 493 laddr.sll_halen = ETH_ALEN; in do_test() 495 msg.msg_name = (void *)&laddr; in do_test() 496 msg.msg_namelen = sizeof(laddr); in do_test()
|
/external/kernel-headers/original/uapi/linux/ |
D | ip6_tunnel.h | 35 struct in6_addr laddr; /* local tunnel end-point address */ member 47 struct in6_addr laddr; /* local tunnel end-point address */ member
|
D | rds.h | 156 __be32 laddr; member 166 struct in6_addr laddr; member 178 __be32 laddr; member 189 struct in6_addr laddr; member
|
/external/iproute2/include/uapi/linux/ |
D | ip6_tunnel.h | 33 struct in6_addr laddr; /* local tunnel end-point address */ member 45 struct in6_addr laddr; /* local tunnel end-point address */ member
|
/external/scapy/scapy/ |
D | utils6.py | 29 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/usrsctp/usrsctplib/netinet/ |
D | sctp_pcb.c | 1072 struct sctp_laddr *laddr; local 1074 LIST_FOREACH(laddr, &stcb->sctp_ep->sctp_addr_list, sctp_nxt_addr) { 1075 if (laddr->ifa->localifa_flags & SCTP_BEING_DELETED) { 1079 if (sctp_is_addr_restricted(stcb, laddr->ifa) && 1080 (!sctp_is_addr_pending(stcb, laddr->ifa))) { 1087 if (laddr->ifa->address.sa.sa_family != to->sa_family) { 1096 sin = &laddr->ifa->address.sin; 1110 sin6 = &laddr->ifa->address.sin6; 1125 sconn = &laddr->ifa->address.sconn; 1158 struct sctp_laddr *laddr; local [all …]
|
D | sctp_asconf.c | 2119 struct sctp_laddr *laddr, *nladdr, *l; in sctp_asconf_iterator_ep_end() local 2126 LIST_FOREACH(laddr, &inp->sctp_addr_list, in sctp_asconf_iterator_ep_end() 2128 if (laddr->ifa == ifa) { in sctp_asconf_iterator_ep_end() 2129 laddr->action = 0; in sctp_asconf_iterator_ep_end() 2135 LIST_FOREACH_SAFE(laddr, &inp->sctp_addr_list, sctp_nxt_addr, nladdr) { in sctp_asconf_iterator_ep_end() 2137 if (laddr->ifa == ifa) { in sctp_asconf_iterator_ep_end() 2582 struct sctp_laddr *laddr; in sctp_find_valid_localaddr_ep() local 2584 LIST_FOREACH(laddr, &stcb->sctp_ep->sctp_addr_list, sctp_nxt_addr) { in sctp_find_valid_localaddr_ep() 2585 if (laddr->ifa == NULL) { in sctp_find_valid_localaddr_ep() 2589 if (sctp_is_addr_restricted(stcb, laddr->ifa) && in sctp_find_valid_localaddr_ep() [all …]
|