Searched refs:daddr (Results 1 – 9 of 9) sorted by relevance
/system/core/libnetutils/ |
D | packet.c | 90 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()
|
D | packet.h | 22 uint32_t saddr, uint32_t daddr, uint32_t sport, uint32_t dport);
|
D | checksum.c | 120 current = ip_checksum_add(current, &(ip->daddr), sizeof(uint32_t)); in ipv4_pseudo_header_checksum()
|
/system/netd/server/ |
D | TcpSocketMonitor.cpp | 80 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()
|
D | XfrmControllerTest.cpp | 294 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()
|
D | WakeupController.cpp | 89 inet_ntop(AF_INET, &header.daddr, addr, sizeof(addr)); in extractIpHeader()
|
D | WakeupControllerTest.cpp | 202 inet_pton(AF_INET, kDstIpAddr, &msg.ipHeader.daddr); in TEST_F()
|
D | XfrmController.cpp | 1053 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/ |
D | clatd.c | 98 .local6 = ip6->daddr, in nat64() 122 .daddr = v->local4.s_addr, // u32 in nat64()
|