Home
last modified time | relevance | path

Searched refs:dstaddr (Results 1 – 25 of 34) 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 -6
/external/libpcap/
Dfad-gifc.c154 struct sockaddr *netmask, *broadaddr, *dstaddr; in pcap_findalldevs_interfaces() local
363 dstaddr = NULL; in pcap_findalldevs_interfaces()
375 dstaddr = &ifrdstaddr.ifr_dstaddr; in pcap_findalldevs_interfaces()
376 dstaddr_size = SA_LEN(dstaddr); in pcap_findalldevs_interfaces()
383 dstaddr = NULL; in pcap_findalldevs_interfaces()
422 dstaddr, dstaddr_size, errbuf) < 0) { in pcap_findalldevs_interfaces()
Dfad-getad.c151 struct sockaddr *addr, *netmask, *broadaddr, *dstaddr; in pcap_findalldevs_interfaces() local
257 dstaddr = ifa->ifa_dstaddr; in pcap_findalldevs_interfaces()
260 dstaddr = NULL; in pcap_findalldevs_interfaces()
270 broadaddr, broadaddr_size, dstaddr, dstaddr_size, in pcap_findalldevs_interfaces()
Dfad-glifc.c91 struct sockaddr *netmask, *broadaddr, *dstaddr; in pcap_findalldevs_interfaces() local
284 dstaddr = NULL; in pcap_findalldevs_interfaces()
295 dstaddr = (struct sockaddr *)&ifrdstaddr.lifr_dstaddr; in pcap_findalldevs_interfaces()
297 dstaddr = NULL; in pcap_findalldevs_interfaces()
336 dstaddr, sizeof (struct sockaddr_storage), errbuf) < 0) { in pcap_findalldevs_interfaces()
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()
399 if (addr->dstaddr) free(addr->dstaddr); in acn_freealldevs()
695 addr->dstaddr = (struct sockaddr *)s; in process_client_data()
Dpcap.c843 struct sockaddr *dstaddr, size_t dstaddr_size,
874 netmask_size, broadaddr, broadaddr_size, dstaddr,
888 struct sockaddr *dstaddr, size_t dstaddr_size,
943 if (dstaddr != NULL && dstaddr_size != 0) {
944 curaddr->dstaddr = (struct sockaddr *)dup_sockaddr(dstaddr, dstaddr_size);
945 if (curaddr->dstaddr == NULL) {
958 curaddr->dstaddr = NULL;
1216 if (curaddr->dstaddr)
1217 free(curaddr->dstaddr);
Dpcap-dos.c564 struct sockaddr *addr, *netmask, *broadaddr, *dstaddr; in pcap_platform_finddevs()
601 dstaddr = (struct sockaddr*) &sa_ll_1; in pcap_platform_finddevs()
608 dstaddr, sizeof(*dstaddr), errbuf) < 0) in pcap_platform_finddevs()
Drpcap-protocol.h291 struct rpcap_sockaddr dstaddr; /* P2P destination address for that address */ member
Dpcap-int.h459 struct sockaddr *dstaddr, size_t, char *errbuf);
Dpcap-rpcap.c2339 free(addr->dstaddr); in freeaddr()
2596 addr->dstaddr = NULL; in pcap_findalldevs_ex_remote()
2616 if (rpcap_deseraddr(&ifaddr.dstaddr, in pcap_findalldevs_ex_remote()
2617 (struct sockaddr_storage **) &addr->dstaddr, errbuf) == -1) in pcap_findalldevs_ex_remote()
2624 (addr->broadaddr == NULL) && (addr->dstaddr == NULL)) in pcap_findalldevs_ex_remote()
/external/libpcap/testprogs/
Dfindalldevstest.c254 if (a->dstaddr) in ifprint()
257 &((struct sockaddr_in *)(a->dstaddr))->sin_addr, in ifprint()
278 if (a->dstaddr) in ifprint()
281 ((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.c1238 convert_sockaddr(struct sockaddr_storage * dstaddr, in convert_sockaddr() argument
1250 sizeof srcaddr->sa_family || srclen > sizeof *dstaddr) { in convert_sockaddr()
1255 memcpy((char *) dstaddr, (char *) srcaddr, srclen); in convert_sockaddr()
1261 dstu = (struct sockaddr_un *) dstaddr; in convert_sockaddr()
1262 dstsize = sizeof *dstaddr - offsetof(struct sockaddr_un, sun_path); in convert_sockaddr()
1308 struct sockaddr * dstaddr, int addrlen) in Curl_os400_sendto() argument
1314 i = convert_sockaddr(&laddr, dstaddr, addrlen); in Curl_os400_sendto()
/external/tcpdump/
Dprint-nfs.c207 char srcaddr[INET6_ADDRSTRLEN], dstaddr[INET6_ADDRSTRLEN]; in print_nfsaddr() local
209 srcaddr[0] = dstaddr[0] = '\0'; in print_nfsaddr()
214 strlcpy(dstaddr, ipaddr_string(ndo, &ip->ip_dst), sizeof(dstaddr)); in print_nfsaddr()
220 strlcpy(dstaddr, ip6addr_string(ndo, &ip6->ip6_dst), in print_nfsaddr()
221 sizeof(dstaddr)); in print_nfsaddr()
225 strlcpy(dstaddr, "?", sizeof(dstaddr)); in print_nfsaddr()
229 ND_PRINT((ndo, "%s.%s > %s.%s: ", srcaddr, s, dstaddr, d)); in print_nfsaddr()
/external/u-boot/drivers/mtd/
Dcfi_flash.c787 void *dstaddr = (void *)dest; in flash_write_cfiword() local
795 flag = ((flash_read8(dstaddr) & cword.w8) == cword.w8); in flash_write_cfiword()
798 flag = ((flash_read16(dstaddr) & cword.w16) == cword.w16); in flash_write_cfiword()
801 flag = ((flash_read32(dstaddr) & cword.w32) == cword.w32); in flash_write_cfiword()
804 flag = ((flash_read64(dstaddr) & cword.w64) == cword.w64); in flash_write_cfiword()
842 flash_write8(cword.w8, dstaddr); in flash_write_cfiword()
845 flash_write16(cword.w16, dstaddr); in flash_write_cfiword()
848 flash_write32(cword.w32, dstaddr); in flash_write_cfiword()
851 flash_write64(cword.w64, dstaddr); in flash_write_cfiword()
863 return flash_status_poll(info, &cword, dstaddr, in flash_write_cfiword()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AArch64/
Darm64-variadic-aapcs.ll128 %dstaddr = bitcast %va_list* @second_list to i8*
129 call void @llvm.va_copy(i8* %dstaddr, i8* %srcaddr)
/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/android-clat/
Dclatd_test.cpp1103 char dstaddr[INET6_ADDRSTRLEN]; in TEST_F() local
1105 ASSERT_NE(nullptr, inet_ntop(AF_INET6, &sTun.dstAddr(), dstaddr, sizeof(dstaddr))); in TEST_F()
1107 EXPECT_EQ(0, ifc_del_address(ifname, dstaddr, 64)); in TEST_F()
/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);
/external/libpcap/pcap/
Dpcap.h281 struct sockaddr *dstaddr; /* P2P destination address for that address */ member
/external/curl/tests/python_dependencies/impacket/
Dnmb.py443 def _setup_connection(self, dstaddr): argument
445 …af, socktype, proto, _canonname, _sa = socket.getaddrinfo(dstaddr, port, socket.AF_INET, socket.SO…

12