Home
last modified time | relevance | path

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

/external/libpcap/
Dfad-win32.c56 struct sockaddr *dstaddr, char *errbuf) in add_addr_to_list() argument
104 if (dstaddr != NULL) { in add_addr_to_list()
105 curaddr->dstaddr = (struct sockaddr*)dup_sockaddr(dstaddr, sizeof(struct sockaddr_storage)); in add_addr_to_list()
106 if (curaddr->dstaddr == NULL) { in add_addr_to_list()
113 curaddr->dstaddr = NULL; in add_addr_to_list()
Dfad-getad.c143 struct sockaddr *addr, *netmask, *broadaddr, *dstaddr; in pcap_findalldevs() local
217 dstaddr = ifa->ifa_dstaddr; in pcap_findalldevs()
220 dstaddr = NULL; in pcap_findalldevs()
258 broadaddr, broadaddr_size, dstaddr, dstaddr_size, in pcap_findalldevs()
Dfad-gifc.c283 struct sockaddr *netmask, *broadaddr, *dstaddr; in pcap_findalldevs() local
476 dstaddr = NULL; in pcap_findalldevs()
488 dstaddr = &ifrdstaddr.ifr_dstaddr; in pcap_findalldevs()
489 dstaddr_size = SA_LEN(dstaddr); in pcap_findalldevs()
496 dstaddr = NULL; in pcap_findalldevs()
534 broadaddr, broadaddr_size, dstaddr, dstaddr_size, in pcap_findalldevs()
Dfad-glifc.c96 struct sockaddr *netmask, *broadaddr, *dstaddr; in pcap_findalldevs() local
305 dstaddr = NULL; in pcap_findalldevs()
316 dstaddr = (struct sockaddr *)&ifrdstaddr.lifr_dstaddr; in pcap_findalldevs()
318 dstaddr = NULL; in pcap_findalldevs()
356 dstaddr, sizeof (struct sockaddr_storage), errbuf) < 0) { in pcap_findalldevs()
Dinet.c364 struct sockaddr *dstaddr, size_t dstaddr_size, in add_addr_to_iflist() argument
437 if (dstaddr != NULL) { in add_addr_to_iflist()
438 curaddr->dstaddr = dup_sockaddr(dstaddr, dstaddr_size); in add_addr_to_iflist()
439 if (curaddr->dstaddr == NULL) { in add_addr_to_iflist()
452 curaddr->dstaddr = NULL; in add_addr_to_iflist()
517 if (curaddr->dstaddr) in pcap_freealldevs()
518 free(curaddr->dstaddr); in pcap_freealldevs()
Dpcap1.h209 struct sockaddr *dstaddr; /* P2P destination address for that address */ member
Dpcap.h213 struct sockaddr *dstaddr; /* P2P destination address for that address */ member
Dpcap-dos.c515 struct sockaddr *addr, *netmask, *broadaddr, *dstaddr; in pcap_findalldevs() local
538 dstaddr = (struct sockaddr*) &sa_ll_1; in pcap_findalldevs()
550 dstaddr, addr_size, errbuf) < 0) in pcap_findalldevs()
/external/bluetooth/bluez/src/
Ddevice.c248 char name[MAX_NAME_LENGTH + 1], srcaddr[18], dstaddr[18]; in get_properties() local
256 ba2str(&device->bdaddr, dstaddr); in get_properties()
270 ptr = dstaddr; in get_properties()
293 g_strdelimit(dstaddr, ":", '-'); in get_properties()
294 ptr = dstaddr; in get_properties()
355 char srcaddr[18], dstaddr[18]; in set_alias() local
366 ba2str(&device->bdaddr, dstaddr); in set_alias()
369 err = write_device_alias(srcaddr, dstaddr, in set_alias()
389 char srcaddr[18], dstaddr[18]; in set_trust() local
398 ba2str(&device->bdaddr, dstaddr); in set_trust()
[all …]
Dstorage.c896 char srcaddr[18], dstaddr[18]; in delete_all_records() local
899 ba2str(dst, dstaddr); in delete_all_records()
905 delete_record(srcaddr, dstaddr, rec->handle); in delete_all_records()
916 char srcaddr[18], dstaddr[18]; in read_records() local
919 ba2str(dst, dstaddr); in read_records()
921 rec_list.addr = dstaddr; in read_records()
1023 int read_device_id(const gchar *srcaddr, const gchar *dstaddr, in read_device_id() argument
1033 err = read_device_id_from_did(srcaddr, dstaddr, &lsource, in read_device_id()
1043 str2ba(dstaddr, &dst); in read_device_id()
1079 store_device_id(srcaddr, dstaddr, lsource, lvendor, lproduct, lversion); in read_device_id()
Devent.c385 char srcaddr[18], dstaddr[18]; in btd_event_remote_name() local
410 ba2str(peer, dstaddr); in btd_event_remote_name()
/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/tcpdump/
Dprint-nfs.c165 char srcaddr[INET6_ADDRSTRLEN], dstaddr[INET6_ADDRSTRLEN]; in print_nfsaddr() local
170 char srcaddr[INET_ADDRSTRLEN], dstaddr[INET_ADDRSTRLEN]; in print_nfsaddr() local
173 srcaddr[0] = dstaddr[0] = '\0'; in print_nfsaddr()
178 strlcpy(dstaddr, ipaddr_string(&ip->ip_dst), sizeof(dstaddr)); in print_nfsaddr()
185 strlcpy(dstaddr, ip6addr_string(&ip6->ip6_dst), in print_nfsaddr()
186 sizeof(dstaddr)); in print_nfsaddr()
191 strlcpy(dstaddr, "?", sizeof(dstaddr)); in print_nfsaddr()
195 (void)printf("%s.%s > %s.%s: ", srcaddr, s, dstaddr, d); in print_nfsaddr()
/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.h2704 const mDNSAddr *dstaddr, const mDNSIPPort dstport, const mDNSInterfaceID InterfaceID);
/external/bluetooth/bluez/health/
Dmcap.c1734 char dstaddr[18]; in mcap_connect_mcl_cb() local
1752 ba2str(&mcl->addr, dstaddr); in mcap_connect_mcl_cb()
1757 error("MCL error: Device %s is already connected", dstaddr); in mcap_connect_mcl_cb()
1759 "MCL %s is already connected", dstaddr); in mcap_connect_mcl_cb()
/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()