Searched refs:daddr (Results 1 – 11 of 11) 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 | 83 .local6 = ip6->daddr, in nat64() 107 .daddr = v->local4.s_addr, // u32 in nat64() 274 .daddr = v->pfx96, // struct in6_addr in sched_cls_egress_clat_rawip() 276 ip6.daddr.in6_u.u6_addr32[3] = ip4->daddr; in sched_cls_egress_clat_rawip()
|
D | offload.c | 68 .neigh6 = ip6->daddr, in do_forward()
|
/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 | 1052 usersa->id.daddr = record.dstAddr; in fillUserSaInfo() 1074 said->daddr = record.dstAddr; in fillUserSaId() 1265 tmpl->id.daddr = record.dstAddr; in fillUserTemplate()
|
/system/netd/tests/ |
D | binder_test.cpp | 3667 .daddr = {{{0x20, 0x01, 0x0d, 0xb8, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, in TEST_F() 3707 uint8_t* daddr = reinterpret_cast<uint8_t*>(&pkt.hdr.daddr); in TEST_F() local 3708 std::vector<uint8_t> dstAddr(daddr, daddr + sizeof(pkt.hdr.daddr)); in TEST_F()
|