HomeSort by: relevance | last modified time | path
    Searched refs:ethertype (Results 1 - 14 of 14) sorted by relevancy

  /src/external/bsd/wpa/dist/src/common/
eapol_common.h 28 be16 ethertype; member in struct:ieee8023_hdr
  /src/external/bsd/wpa/dist/src/drivers/
driver_wired.c 37 u16 ethertype; member in struct:ieee8023_hdr
87 * 2 byte ethertype */
96 switch (ntohs(hdr->ethertype)) {
110 wpa_printf(MSG_DEBUG, "Unknown ethertype 0x%04x in data frame",
111 ntohs(hdr->ethertype));
306 hdr->ethertype = htons(ETH_P_PAE);
driver_hostap.c 62 u16 fc, ethertype; local
100 printf("No ethertype in data frame\n");
104 ethertype = WPA_GET_BE16(pos);
107 switch (ethertype) {
113 printf("Unknown ethertype 0x%04x in data frame\n", ethertype);
driver_macsec_qca.c 143 * and 2 bytes ethertype
153 switch (ntohs(hdr->ethertype)) {
166 wpa_printf(MSG_DEBUG, "Unknown ethertype 0x%04x in data frame",
167 ntohs(hdr->ethertype));
389 hdr->ethertype = htons(ETH_P_PAE);
driver_macsec_linux.c 1484 * 2 byte ethertype */
1493 switch (ntohs(hdr->ethertype)) {
1507 wpa_printf(MSG_DEBUG, "Unknown ethertype 0x%04x in data frame",
1508 ntohs(hdr->ethertype));
1663 hdr->ethertype = htons(ETH_P_PAE);
driver_nl80211_event.c 3672 u16 ethertype; local
3682 ethertype = nla_get_u16(tb[NL80211_ATTR_CONTROL_PORT_ETHERTYPE]);
3691 switch (ethertype) {
3705 "nl80211: Unexpected ethertype 0x%04x from "
3707 ethertype, MAC2STR(src_addr));
  /src/external/bsd/libpcap/dist/msdos/
makefile 128 ethertype.h nlpid.h llc.h gencode.h atmuni31.h sunatmpos.h ppp.h sll.h \
132 pcap-namedb.h ethertype.h
166 ethertype.h nlpid.h llc.h gencode.h atmuni31.h sunatmpos.h ppp.h sll.h \
170 pcap-namedb.h ethertype.h
  /src/external/mpl/dhcp/dist/common/
tr.c 109 llc->ethertype = htons(ETHERTYPE_IP);
179 || ntohs(llc->ethertype) != ETHERTYPE_IP
  /src/external/bsd/wpa/dist/src/pae/
ieee802_1x_kay.c 2474 ether_hdr->ethertype = host_to_be16(ETH_P_EAPOL);
2476 " Ethertype=0x%x",
2478 be_to_host16(ether_hdr->ethertype));
3123 " Ethertype=0x%x",
3125 be_to_host16(eth_hdr->ethertype));
3476 if (be_to_host16(eth_hdr->ethertype) != ETH_P_PAE ||
  /src/external/bsd/wpa/dist/hostapd/
ctrl_iface.c 2042 u16 ethertype; local
2068 ethertype = ntohs(eth->ether_type);
2070 l2 = l2_packet_init(ifname, hapd->own_addr, ethertype,
2075 res = l2_packet_send(l2, eth->ether_dhost, ethertype, buf, len);
  /src/sys/dev/pci/
if_mcx.c 2424 int ethertype; member in struct:mcx_rss_rule
5991 int ethertype, int ip_proto, uint32_t dest)
6034 mbin->cmd_flow_ctx.fc_match_value.mc_ethertype = htobe16(ethertype);
7474 flow_index, rss->ethertype, rss->ip_proto,
  /src/external/apache2/mDNSResponder/dist/mDNSCore/
mDNSEmbeddedAPI.h 612 mDNSOpaque16 ethertype; variable
mDNS.c 2920 // 0x0C ARP Ethertype (0x0806)
3002 // 0x0C IPv6 Ethertype (0x86DD)
5088 // 0x0C Ethertype (0x0842)
18075 static const mDNSOpaque16 Ethertype_ARP = { { 0x08, 0x06 } }; // Ethertype 0x0806 = ARP
18076 static const mDNSOpaque16 Ethertype_IPv4 = { { 0x08, 0x00 } }; // Ethertype 0x0800 = IPv4
18077 static const mDNSOpaque16 Ethertype_IPv6 = { { 0x86, 0xDD } }; // Ethertype 0x86DD = IPv6
18091 if (end >= p+42 && mDNSSameOpaque16(eth->ethertype, Ethertype_ARP) && mDNSSameOpaque16(pkt->arp.hrd, ARP_hrd_eth) && mDNSSameOpaque16(pkt->arp.pro, ARP_pro_ip))
18094 else if (end >= p+34 && mDNSSameOpaque16(eth->ethertype, Ethertype_IPv4) && (pkt->v4.flagsfrags.b[0] & 0x1F) == 0 && pkt->v4.flagsfrags.b[1] == 0)
18106 else if (end >= p+54 && mDNSSameOpaque16(eth->ethertype, Ethertype_IPv6))
  /src/external/bsd/wpa/dist/wpa_supplicant/
ctrl_iface.c 10158 u16 ethertype; local
10174 ethertype = ntohs(eth->ether_type);
10176 l2 = l2_packet_init(wpa_s->ifname, wpa_s->own_addr, ethertype,
10181 res = l2_packet_send(l2, eth->ether_dhost, ethertype, buf, len);
11058 /* format: <dst> <packet starting from ethertype> */

Completed in 52 milliseconds