Home
last modified time | relevance | path

Searched refs:saddr (Results 1 – 6 of 6) sorted by relevance

/system/core/libnetutils/
Dpacket.c91 uint32_t saddr, uint32_t daddr, uint32_t sport, uint32_t dport) in send_packet() argument
110 ip.saddr = saddr; in send_packet()
120 udpsum = checksum(&ip.saddr, sizeof(ip.saddr), 0); in send_packet()
169 uint32_t saddr, daddr; in receive_packet() local
222 saddr = packet.ip.saddr; in receive_packet()
226 packet.ip.saddr = saddr; in receive_packet()
Dpacket.h22 uint32_t saddr, uint32_t daddr, uint32_t sport, uint32_t dport);
/system/netd/server/
DSockDiagTest.cpp125 struct in6_addr *saddr = (struct in6_addr *) msg->id.idiag_src; in TEST_F() local
127 IN6_IS_ADDR_LOOPBACK(saddr) || in TEST_F()
128 (IN6_IS_ADDR_V4MAPPED(saddr) && saddr->s6_addr32[3] == htonl(INADDR_LOOPBACK))); in TEST_F()
/system/connectivity/dhcp_client/
Ddhcpv4.cc252 ip->saddr = htonl(from_); in MakeRawPacket()
/system/connectivity/shill/wifi/
Dwake_on_wifi.cc231 CHECK_EQ(sizeof(pattern_bytes.ipv4_hdr.saddr), ip_addr.GetLength()); in CreateIPV4PatternAndMask()
232 memcpy(&pattern_bytes.ipv4_hdr.saddr, ip_addr.GetConstData(), in CreateIPV4PatternAndMask()
235 reinterpret_cast<unsigned char*>(&pattern_bytes.ipv4_hdr.saddr) - in CreateIPV4PatternAndMask()
/system/connectivity/shill/shims/
Dnetfilter_queue_processor.cc116 source_ip_ = ntohl(ip.saddr); in ParsePayloadUDPData()