Home
last modified time | relevance | path

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

/system/core/libnetutils/
Dpacket.c87 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()
Dpacket.h24 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/bpf_progs/
Dclatd.c83 .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()
Doffload.c68 .neigh6 = ip6->daddr, in do_forward()
/system/netd/server/
DTcpSocketMonitor.cpp81 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()
DXfrmControllerTest.cpp293 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()
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.cpp1052 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/
Dbinder_test.cpp3667 .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()