Searched refs:saddr (Results 1 – 6 of 6) sorted by relevance
/system/core/libnetutils/ |
D | packet.c | 91 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()
|
D | packet.h | 22 uint32_t saddr, uint32_t daddr, uint32_t sport, uint32_t dport);
|
/system/netd/server/ |
D | SockDiagTest.cpp | 125 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/ |
D | dhcpv4.cc | 252 ip->saddr = htonl(from_); in MakeRawPacket()
|
/system/connectivity/shill/wifi/ |
D | wake_on_wifi.cc | 231 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/ |
D | netfilter_queue_processor.cc | 116 source_ip_ = ntohl(ip.saddr); in ParsePayloadUDPData()
|