Searched refs:daddr (Results 1 – 10 of 10) sorted by relevance
/system/core/libnetutils/ |
D | packet.c | 87 uint32_t saddr, uint32_t daddr, uint32_t sport, uint32_t dport) in send_packet() argument 107 ip.daddr = daddr; in send_packet() 117 udpsum = checksum(&ip.daddr, sizeof(ip.daddr), udpsum); in send_packet() 165 uint32_t saddr, daddr; in receive_packet() local 233 daddr = packet.ip.daddr; in receive_packet() 237 packet.ip.daddr = daddr; in receive_packet()
|
D | packet.h | 24 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/bpf_progs/ |
D | clatd.c | 86 .local6 = ip6->daddr, in nat64() 110 .daddr = v->local4.s_addr, // u32 in nat64() 277 .daddr = v->pfx96, // struct in6_addr 279 ip6.daddr.in6_u.u6_addr32[3] = ip4->daddr;
|
/system/netd/server/ |
D | TcpSocketMonitor.cpp | 81 char daddr[INET6_ADDRSTRLEN] = {}; in tcpInfoPrint() local 83 inet_ntop(sockinfo->idiag_family, &(sockinfo->id.idiag_dst), daddr, sizeof(daddr)); in tcpInfoPrint() 92 daddr, in tcpInfoPrint()
|
D | XfrmControllerTest.cpp | 293 expectAddressEquals(family, remoteAddr, userspi.info.id.daddr); in TEST_P() 386 expectAddressEquals(family, remoteAddr, usersa.id.daddr); in testIpSecAddSecurityAssociation() 537 expectAddressEquals(xfrmFamily, remoteAddr, policy.tmpl.id.daddr); in TEST_P() 622 expectAddressEquals(family, remoteAddr, said.daddr); in TEST_P() 701 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 | 1116 usersa->id.daddr = record.dstAddr; in fillUserSaInfo() 1138 said->daddr = record.dstAddr; in fillUserSaId() 1344 tmpl->id.daddr = record.dstAddr; in fillUserTemplate()
|
/system/netd/tests/ |
D | binder_test.cpp | 3731 .daddr = {{{0x20, 0x01, 0x0d, 0xb8, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, in TEST_F() 3776 uint8_t* daddr = reinterpret_cast<uint8_t*>(&pkt.hdr.daddr); in TEST_F() local 3777 std::vector<uint8_t> dstAddr(daddr, daddr + sizeof(pkt.hdr.daddr)); in TEST_F()
|