Home
last modified time | relevance | path

Searched refs:dstaddr (Results 1 – 25 of 26) sorted by relevance

12

/external/toybox/toys/pending/
Dtftpd.c77 static void send_errpkt(struct sockaddr *dstaddr, in send_errpkt() argument
83 if (sendto(TT.sfd, g_errpkt, strlen(errmsg)+5, 0, dstaddr, socklen) < 0) in send_errpkt()
88 static void do_action(struct sockaddr *srcaddr, struct sockaddr *dstaddr, in do_action() argument
109 send_errpkt(dstaddr, socklen, "can't open file"); in do_action()
150 send_errpkt(dstaddr, socklen, "read-error"); in do_action()
160 if (sendto(TT.sfd, spkt, (ptr - spkt), 0, dstaddr, socklen) <0) in do_action()
180 send_errpkt(dstaddr, socklen, "read-error"); in do_action()
218 send_errpkt(dstaddr, socklen, "write error"); in do_action()
240 struct sockaddr_storage srcaddr, dstaddr; in tftpd_main() local
250 recvmsg_len = recvfrom(fd, toybuf, blksize, 0, (void *)&dstaddr, &socklen); in tftpd_main()
[all …]
/external/ltp/runtest/
Dnet_stress.broken_ip12 broken_ip4-dstaddr broken_ip4-dstaddr
14 broken_ip6-dstaddr broken_ip6-dstaddr
/external/libpcap/
Dfad-gifc.c148 struct sockaddr *netmask, *broadaddr, *dstaddr; in pcap_findalldevs_interfaces() local
338 dstaddr = NULL; in pcap_findalldevs_interfaces()
350 dstaddr = &ifrdstaddr.ifr_dstaddr; in pcap_findalldevs_interfaces()
351 dstaddr_size = SA_LEN(dstaddr); in pcap_findalldevs_interfaces()
358 dstaddr = NULL; in pcap_findalldevs_interfaces()
396 broadaddr, broadaddr_size, dstaddr, dstaddr_size, in pcap_findalldevs_interfaces()
Dfad-getad.c151 struct sockaddr *addr, *netmask, *broadaddr, *dstaddr; in pcap_findalldevs_interfaces() local
218 dstaddr = ifa->ifa_dstaddr; in pcap_findalldevs_interfaces()
221 dstaddr = NULL; in pcap_findalldevs_interfaces()
259 broadaddr, broadaddr_size, dstaddr, dstaddr_size, in pcap_findalldevs_interfaces()
Dfad-glifc.c91 struct sockaddr *netmask, *broadaddr, *dstaddr; in pcap_findalldevs_interfaces() local
297 dstaddr = NULL; in pcap_findalldevs_interfaces()
308 dstaddr = (struct sockaddr *)&ifrdstaddr.lifr_dstaddr; in pcap_findalldevs_interfaces()
310 dstaddr = NULL; in pcap_findalldevs_interfaces()
348 dstaddr, sizeof (struct sockaddr_storage), errbuf) < 0) { in pcap_findalldevs_interfaces()
Dinet.c604 struct sockaddr *dstaddr, size_t dstaddr_size, in add_addr_to_iflist() argument
644 netmask_size, broadaddr, broadaddr_size, dstaddr, in add_addr_to_iflist()
659 struct sockaddr *dstaddr, size_t dstaddr_size, in add_addr_to_dev() argument
711 if (dstaddr != NULL) { in add_addr_to_dev()
712 curaddr->dstaddr = dup_sockaddr(dstaddr, dstaddr_size); in add_addr_to_dev()
713 if (curaddr->dstaddr == NULL) { in add_addr_to_dev()
726 curaddr->dstaddr = NULL; in add_addr_to_dev()
808 if (curaddr->dstaddr) in pcap_freealldevs()
809 free(curaddr->dstaddr); in pcap_freealldevs()
Dpcap-sita.c106 …printf("%15s ", (addr->dstaddr) ? inet_ntoa(((struct sockaddr_in *)addr->dstaddr)->sin_addr) : ""… in dump_interface_list()
134 … %p %p %p %p, next: %p\n", addr->addr, addr->netmask, addr->broadaddr, addr->dstaddr, addr->next); in dump_interface_list_p()
394 if (addr->dstaddr) free(addr->dstaddr);
674 addr->dstaddr = (struct sockaddr *)s;
Dpcap-int.h423 struct sockaddr *dstaddr, size_t, char *errbuf);
Dpcap-dos.c535 struct sockaddr *addr, *netmask, *broadaddr, *dstaddr; in pcap_findalldevs() local
558 dstaddr = (struct sockaddr*) &sa_ll_1; in pcap_findalldevs()
570 dstaddr, addr_size, errbuf) < 0) in pcap_findalldevs()
Dpcap-snf.c406 curaddr->dstaddr = NULL; in snf_findalldevs()
/external/libpcap/tests/
Dfindalldevstest.c87 if (a->dstaddr) in ifprint()
89 inet_ntoa(((struct sockaddr_in *)(a->dstaddr))->sin_addr)); in ifprint()
109 if (a->dstaddr) in ifprint()
112 ((struct sockaddr_in6 *)(a->dstaddr))->sin6_addr.s6_addr, in ifprint()
/external/mdnsresponder/mDNSPosix/
DNetMonitor.c474 …*const end, const mDNSAddr *srcaddr, mDNSIPPort srcport, const mDNSAddr *dstaddr, const mDNSInterf… in DisplayPacketHeader() argument
493 if (!mDNSAddrIsDNSMulticast(dstaddr)) mprintf(" To: %#a", dstaddr); in DisplayPacketHeader()
610 …const mDNSAddr *srcaddr, mDNSIPPort srcport, const mDNSAddr *dstaddr, const mDNSInterfaceID Interf… in DisplayQuery() argument
619 DisplayPacketHeader(m, msg, end, srcaddr, srcport, dstaddr, InterfaceID); in DisplayQuery()
689 …const mDNSAddr *srcaddr, mDNSIPPort srcport, const mDNSAddr *dstaddr, const mDNSInterfaceID Interf… in DisplayResponse() argument
696 DisplayPacketHeader(m, msg, end, srcaddr, srcport, dstaddr, InterfaceID); in DisplayResponse()
705 if (mDNSAddrIsDNSMulticast(dstaddr)) in DisplayResponse()
779 …const mDNSAddr *srcaddr, mDNSIPPort srcport, const mDNSAddr *dstaddr, mDNSIPPort dstport, const mD… in mDNSCoreReceive() argument
787 (void)dstaddr; // Unused in mDNSCoreReceive()
802 if (!mDNSAddrIsDNSMulticast(dstaddr)) in mDNSCoreReceive()
[all …]
DIdentify.c94 …const mDNSAddr *const srcaddr, const mDNSIPPort srcport, const mDNSAddr *const dstaddr, const mDNS… in mDNSCoreReceive() argument
97 (void)dstaddr; // Unused in mDNSCoreReceive()
/external/curl/packages/OS400/
Dos400sys.c1202 convert_sockaddr(struct sockaddr_storage * dstaddr, in convert_sockaddr() argument
1214 sizeof srcaddr->sa_family || srclen > sizeof *dstaddr) { in convert_sockaddr()
1219 memcpy((char *) dstaddr, (char *) srcaddr, srclen); in convert_sockaddr()
1225 dstu = (struct sockaddr_un *) dstaddr; in convert_sockaddr()
1226 dstsize = sizeof *dstaddr - offsetof(struct sockaddr_un, sun_path); in convert_sockaddr()
1272 struct sockaddr * dstaddr, int addrlen) in Curl_os400_sendto() argument
1278 i = convert_sockaddr(&laddr, dstaddr, addrlen); in Curl_os400_sendto()
/external/tcpdump/
Dprint-nfs.c209 char srcaddr[INET6_ADDRSTRLEN], dstaddr[INET6_ADDRSTRLEN]; in print_nfsaddr() local
214 char srcaddr[INET_ADDRSTRLEN], dstaddr[INET_ADDRSTRLEN]; in print_nfsaddr() local
217 srcaddr[0] = dstaddr[0] = '\0'; in print_nfsaddr()
222 strlcpy(dstaddr, ipaddr_string(ndo, &ip->ip_dst), sizeof(dstaddr)); in print_nfsaddr()
229 strlcpy(dstaddr, ip6addr_string(ndo, &ip6->ip6_dst), in print_nfsaddr()
230 sizeof(dstaddr)); in print_nfsaddr()
235 strlcpy(dstaddr, "?", sizeof(dstaddr)); in print_nfsaddr()
239 ND_PRINT((ndo, "%s.%s > %s.%s: ", srcaddr, s, dstaddr, d)); in print_nfsaddr()
/external/llvm/test/CodeGen/AArch64/
Darm64-variadic-aapcs.ll132 %dstaddr = bitcast %va_list* @second_list to i8*
133 call void @llvm.va_copy(i8* %dstaddr, i8* %srcaddr)
/external/curl/lib/
Dsetup-os400.h206 struct sockaddr * dstaddr, int addrlen);
/external/libpcap/pcap/
Dpcap.h234 struct sockaddr *dstaddr; /* P2P destination address for that address */ member
/external/mdnsresponder/mDNSCore/
DmDNS.c6217 const mDNSAddr *srcaddr, const mDNSIPPort srcport, const mDNSAddr *dstaddr, mDNSIPPort dstport, in mDNSCoreReceiveQuery() argument
6221 mDNSBool QueryWasLocalUnicast = srcaddr && dstaddr && in mDNSCoreReceiveQuery()
6222 !mDNSAddrIsDNSMulticast(dstaddr) && mDNS_AddressIsLocalSubnet(m, InterfaceID, srcaddr); in mDNSCoreReceiveQuery()
6224 if (!InterfaceID && dstaddr && mDNSAddrIsDNSMulticast(dstaddr)) in mDNSCoreReceiveQuery()
6228 srcaddr, mDNSVal16(srcport), dstaddr, mDNSVal16(dstport), InterfaceID, in mDNSCoreReceiveQuery()
6238 srcaddr, mDNSVal16(srcport), dstaddr, mDNSVal16(dstport), InterfaceID, in mDNSCoreReceiveQuery()
6245 …!mDNSSameIPPort(srcport, MulticastDNSPort), mDNSAddrIsDNSMulticast(dstaddr), QueryWasLocalUnicast,… in mDNSCoreReceiveQuery()
6471 const mDNSAddr *srcaddr, const mDNSIPPort srcport, const mDNSAddr *dstaddr, mDNSIPPort dstport, in mDNSCoreReceiveResponse() argument
6475 mDNSBool ResponseMCast = dstaddr && mDNSAddrIsDNSMulticast(dstaddr); in mDNSCoreReceiveResponse()
6497 srcaddr, dstaddr, InterfaceID, in mDNSCoreReceiveResponse()
[all …]
DDNSCommon.h251 const mDNSAddr *dstaddr, mDNSIPPort dstport, const DNSMessage *const msg, const mDNSu8 *const end);
DDNSCommon.c2541 const mDNSAddr *dstaddr, mDNSIPPort dstport, const DNSMessage *const msg, const mDNSu8 *const end) in DumpPacket() argument
2552 if (dstaddr || !mDNSIPPortIsZero(dstport)) in DumpPacket()
2553 dbuffer[mDNS_snprintf(dbuffer, sizeof(dbuffer), " to %#a:%d", dstaddr, mDNSVal16(dstport))] = 0; in DumpPacket()
DmDNSEmbeddedAPI.h2716 const mDNSAddr *dstaddr, const mDNSIPPort dstport, const mDNSInterfaceID InterfaceID);
/external/ltp/android/
Dltp_package_list.mk1113 ltp_testcases_bin_broken_ip4-dstaddr \
1120 ltp_testcases_bin_broken_ip6-dstaddr \
DAndroid.ltp.mk1080 module_prebuilt := testcases/bin/broken_ip6-dstaddr
1081 module_src_files := testcases/network/stress/broken_ip/broken_ip6-dstaddr
1388 module_prebuilt := testcases/bin/broken_ip4-dstaddr
1389 module_src_files := testcases/network/stress/broken_ip/broken_ip4-dstaddr
/external/mdnsresponder/mDNSShared/
Ddnsextd.c3105 … const mDNSAddr *const dstaddr, const mDNSIPPort dstport, const mDNSInterfaceID iid) in mDNSCoreReceive() argument
3106 …{ ( void ) m; ( void ) msg; ( void ) end; ( void ) srcaddr; ( void ) srcport; ( void ) dstaddr; ( … in mDNSCoreReceive()

12