Home
last modified time | relevance | path

Searched refs:daddr (Results 1 – 9 of 9) sorted by relevance

/system/core/libnetutils/
Dpacket.c90 uint32_t saddr, uint32_t daddr, uint32_t sport, uint32_t dport) in send_packet() argument
110 ip.daddr = daddr; in send_packet()
120 udpsum = checksum(&ip.daddr, sizeof(ip.daddr), udpsum); in send_packet()
168 uint32_t saddr, daddr; in receive_packet() local
236 daddr = packet.ip.daddr; in receive_packet()
240 packet.ip.daddr = daddr; in receive_packet()
Dpacket.h22 uint32_t saddr, uint32_t daddr, uint32_t sport, uint32_t dport);
Dchecksum.c120 current = ip_checksum_add(current, &(ip->daddr), sizeof(uint32_t)); in ipv4_pseudo_header_checksum()
/system/netd/server/
DTcpSocketMonitor.cpp80 char daddr[INET6_ADDRSTRLEN] = {}; in tcpInfoPrint() local
82 inet_ntop(sockinfo->idiag_family, &(sockinfo->id.idiag_dst), daddr, sizeof(daddr)); in tcpInfoPrint()
91 daddr, in tcpInfoPrint()
DXfrmControllerTest.cpp294 expectAddressEquals(family, remoteAddr, userspi.info.id.daddr); in TEST_P()
387 expectAddressEquals(family, remoteAddr, usersa.id.daddr); in testIpSecAddSecurityAssociation()
538 expectAddressEquals(xfrmFamily, remoteAddr, policy.tmpl.id.daddr); in TEST_P()
623 expectAddressEquals(family, remoteAddr, said.daddr); in TEST_P()
702 expectAddressEquals(family, remoteAddr, usertmpl.tmpl.id.daddr); in TEST_P()
DWakeupController.cpp89 inet_ntop(AF_INET, &header.daddr, addr, sizeof(addr)); in extractIpHeader()
DWakeupControllerTest.cpp202 inet_pton(AF_INET, kDstIpAddr, &msg.ipHeader.daddr); in TEST_F()
DXfrmController.cpp1053 usersa->id.daddr = record.dstAddr; in fillUserSaInfo()
1075 said->daddr = record.dstAddr; in fillUserSaId()
1266 tmpl->id.daddr = record.dstAddr; in fillUserTemplate()
/system/netd/bpf_progs/
Dclatd.c98 .local6 = ip6->daddr, in nat64()
122 .daddr = v->local4.s_addr, // u32 in nat64()