HomeSort by relevance Sort by last modified time
    Searched full:ethhdr (Results 1 - 25 of 36) sorted by null

1 2

  /external/ppp/pppd/plugins/rp-pppoe/
debug.c 130 (unsigned) packet->ethHdr.h_source[0],
131 (unsigned) packet->ethHdr.h_source[1],
132 (unsigned) packet->ethHdr.h_source[2],
133 (unsigned) packet->ethHdr.h_source[3],
134 (unsigned) packet->ethHdr.h_source[4],
135 (unsigned) packet->ethHdr.h_source[5],
136 (unsigned) packet->ethHdr.h_dest[0],
137 (unsigned) packet->ethHdr.h_dest[1],
138 (unsigned) packet->ethHdr.h_dest[2],
139 (unsigned) packet->ethHdr.h_dest[3]
    [all...]
pppoe.h 81 #define ethhdr ether_header macro
95 #define ethhdr ether_header macro
207 struct ethhdr ethHdr; /* Ethernet header */
223 #define HDR_SIZE (sizeof(struct ethhdr) + PPPOE_OVERHEAD)
discovery.c 86 if (memcmp(packet->ethHdr.h_dest, conn->myEth, ETH_ALEN)) return 0;
259 memset(packet.ethHdr.h_dest, 0xFF, ETH_ALEN);
260 memcpy(packet.ethHdr.h_source, conn->myEth, ETH_ALEN);
262 packet.ethHdr.h_proto = htons(Eth_PPPOE_Discovery);
368 if (NOT_UNICAST(packet.ethHdr.h_source)) {
386 memcpy(conn->peerEth, packet.ethHdr.h_source, ETH_ALEN);
429 memcpy(packet.ethHdr.h_dest, conn->peerEth, ETH_ALEN);
430 memcpy(packet.ethHdr.h_source, conn->myEth, ETH_ALEN);
432 packet.ethHdr.h_proto = htons(Eth_PPPOE_Discovery);
542 if (memcmp(packet.ethHdr.h_source, conn->peerEth, ETH_ALEN)) continue
    [all...]
  /external/wpa_supplicant/
l2_packet_pcap.c 129 struct l2_ethhdr *ethhdr; local
135 if (packet == NULL || hdr.caplen < sizeof(*ethhdr))
138 ethhdr = (struct l2_ethhdr *) packet;
140 buf = (unsigned char *) ethhdr;
143 buf = (unsigned char *) (ethhdr + 1);
144 len = hdr.caplen - sizeof(*ethhdr);
146 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, buf, len);
156 struct l2_ethhdr *ethhdr; local
160 if (pkt_data == NULL || hdr->caplen < sizeof(*ethhdr))
163 ethhdr = (struct l2_ethhdr *) pkt_data
    [all...]
l2_packet_freebsd.c 80 struct l2_ethhdr *ethhdr; local
86 if (packet == NULL || hdr.caplen < sizeof(*ethhdr))
89 ethhdr = (struct l2_ethhdr *) packet;
91 buf = (unsigned char *) ethhdr;
94 buf = (unsigned char *) (ethhdr + 1);
95 len = hdr.caplen - sizeof(*ethhdr);
97 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, buf, len);
l2_packet_winpcap.c 112 struct l2_ethhdr *ethhdr; local
114 if (pkt_data == NULL || hdr->caplen < sizeof(*ethhdr))
117 ethhdr = (struct l2_ethhdr *) pkt_data;
119 l2->rx_buf = (u8 *) ethhdr;
122 l2->rx_buf = (u8 *) (ethhdr + 1);
123 l2->rx_len = hdr->caplen - sizeof(*ethhdr);
125 l2->rx_src = ethhdr->h_source;
  /external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/
l2_packet_pcap.c 129 struct l2_ethhdr *ethhdr; local
135 if (packet == NULL || hdr.caplen < sizeof(*ethhdr))
138 ethhdr = (struct l2_ethhdr *) packet;
140 buf = (unsigned char *) ethhdr;
143 buf = (unsigned char *) (ethhdr + 1);
144 len = hdr.caplen - sizeof(*ethhdr);
146 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, buf, len);
156 struct l2_ethhdr *ethhdr; local
160 if (pkt_data == NULL || hdr->caplen < sizeof(*ethhdr))
163 ethhdr = (struct l2_ethhdr *) pkt_data
    [all...]
l2_packet_freebsd.c 83 struct l2_ethhdr *ethhdr; local
89 if (packet == NULL || hdr.caplen < sizeof(*ethhdr))
92 ethhdr = (struct l2_ethhdr *) packet;
94 buf = (unsigned char *) ethhdr;
97 buf = (unsigned char *) (ethhdr + 1);
98 len = hdr.caplen - sizeof(*ethhdr);
100 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, buf, len);
l2_packet_winpcap.c 112 struct l2_ethhdr *ethhdr; local
114 if (pkt_data == NULL || hdr->caplen < sizeof(*ethhdr))
117 ethhdr = (struct l2_ethhdr *) pkt_data;
119 l2->rx_buf = (u8 *) ethhdr;
122 l2->rx_buf = (u8 *) (ethhdr + 1);
123 l2->rx_len = hdr->caplen - sizeof(*ethhdr);
125 l2->rx_src = ethhdr->h_source;
  /bionic/libc/kernel/common/linux/
if_arcnet.h 57 struct ethhdr eth;
  /development/ndk/platforms/android-3/include/linux/
if_arcnet.h 57 struct ethhdr eth;
if_ether.h 75 struct ethhdr { struct
  /prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/
if_arcnet.h 57 struct ethhdr eth;
if_ether.h 75 struct ethhdr { struct
  /prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/
if_arcnet.h 57 struct ethhdr eth;
if_ether.h 75 struct ethhdr { struct
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/
if_arcnet.h 57 struct ethhdr eth;
if_ether.h 75 struct ethhdr { struct
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/
if_arcnet.h 57 struct ethhdr eth;
if_ether.h 75 struct ethhdr { struct
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/linux/
if_arcnet.h 57 struct ethhdr eth;
if_ether.h 75 struct ethhdr { struct
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/
if_arcnet.h 57 struct ethhdr eth;
if_ether.h 75 struct ethhdr { struct
  /external/kernel-headers/original/linux/
if_ether.h 117 struct ethhdr { struct
126 static inline struct ethhdr *eth_hdr(const struct sk_buff *skb)
128 return (struct ethhdr *)skb_mac_header(skb);

Completed in 371 milliseconds

1 2