HomeSort by relevance Sort by last modified time
    Searched refs:ArpPacket (Results 1 - 13 of 13) sorted by null

  /system/connectivity/shill/
mock_arp_client.h 36 MOCK_CONST_METHOD2(ReceivePacket, bool(ArpPacket* packet,
38 MOCK_CONST_METHOD1(TransmitRequest, bool(const ArpPacket& packet));
arp_packet.h 25 // ArpPacket encapsulates the task of creating and parsing
28 class ArpPacket {
30 ArpPacket();
31 ArpPacket(const IPAddress& local_ip, const IPAddress& remote_ip,
33 virtual ~ArpPacket();
83 DISALLOW_COPY_AND_ASSIGN(ArpPacket);
arp_client.h 26 class ArpPacket;
54 virtual bool ReceivePacket(ArpPacket* packet, ByteString* sender) const;
58 virtual bool TransmitRequest(const ArpPacket& packet) const;
arp_client_test_helper.h 42 bool SimulateReceivePacket(ArpPacket* packet, ByteString* sender);
45 ArpPacket packet_;
arp_packet.cc 30 const size_t ArpPacket::kMinPayloadSize = ETH_ZLEN - ETH_HLEN;
32 ArpPacket::ArpPacket()
37 ArpPacket::ArpPacket(
45 ArpPacket::~ArpPacket() {}
67 bool ArpPacket::Parse(const ByteString& packet) {
134 bool ArpPacket::FormatRequest(ByteString* packet) const {
185 bool ArpPacket::IsReply() const
    [all...]
arp_client_test_helper.cc 47 bool ArpClientTestHelper::SimulateReceivePacket(ArpPacket* packet,
arp_client.cc 117 bool ArpClient::ReceivePacket(ArpPacket* packet, ByteString* sender) const {
151 bool ArpClient::TransmitRequest(const ArpPacket& packet) const {
arp_client_unittest.cc 78 void SetupValidPacket(ArpPacket* packet);
116 void ArpClientTest::SetupValidPacket(ArpPacket* packet) {
219 ArpPacket reply;
239 ArpPacket packet;
260 ArpPacket packet;
passive_link_monitor.cc 109 ArpPacket packet;
active_link_monitor.cc 239 ArpPacket packet;
329 ArpPacket request(connection_->local(), connection_->gateway(),
arp_packet_unittest.cc 76 ArpPacket packet_;
connection_diagnostics.cc 557 ArpPacket request(connection_->local(), connection_->local(),
740 ArpPacket packet;
    [all...]
  /external/avahi/avahi-autoipd/
main.c 119 typedef struct ArpPacket {
122 } ArpPacket;
286 static ArpPacket* packet_new(size_t packet_len) {
287 ArpPacket *p;
293 b = avahi_new0(uint8_t, sizeof(struct ArpPacket) + packet_len);
294 p = (ArpPacket*) b;
296 p->ether_payload = b + sizeof(struct ArpPacket);
299 b = avahi_new0(uint8_t, sizeof(struct ArpPacket) + ETHER_HDR_SIZE + packet_len);
300 p = (ArpPacket*) b;
301 p->ether_header = b + sizeof(struct ArpPacket);
    [all...]

Completed in 267 milliseconds