/freebsd-current/sys/netgraph/ |
H A D | ng_etf.h | 78 u_int16_t ethertype; /* this ethertype to this hook */ member in struct:ng_etffilter 86 { "ethertype", &ng_parse_uint16_type }, \
|
H A D | ng_etf.c | 135 u_int16_t ethertype; /* network order ethertype */ member in struct:filter 156 ng_etf_findentry(etf_p etfp, u_int16_t ethertype) argument 158 struct filterhead *chain = etfp->hashtable + HASH(ethertype); 162 if (fil->ethertype == ethertype) { 304 /* Check we don't already trap this ethertype */ 306 htons(f->ethertype))) { 323 fil->ethertype = htons(f->ethertype); 368 u_int16_t ethertype; local [all...] |
/freebsd-current/contrib/wpa/src/common/ |
H A D | eapol_common.h | 28 be16 ethertype; member in struct:ieee8023_hdr
|
/freebsd-current/tests/sys/netgraph/ |
H A D | vlan_rotate.c | 235 ATF_TC(ethertype); variable 236 ATF_TC_HEAD(ethertype, conf) 241 ATF_TC_BODY(ethertype, dummy) 329 ATF_TP_ADD_TC(vlan_rotate, ethertype);
|
/freebsd-current/sys/dev/netmap/ |
H A D | netmap_offloadings.c | 274 uint16_t ethertype; local 286 ethertype = be16toh(*((uint16_t *) 288 if (ethertype != 0x8100) /* not 802.1q */ 292 switch (ethertype) { 312 nm_prlim(1, "Unsupported ethertype, " 316 nm_prdis(3, "type=%04x", ethertype);
|
/freebsd-current/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_flow_table.c | 303 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.ethertype); 308 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, 320 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, 335 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, 347 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, 361 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, 373 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, 387 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, 399 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, 413 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, [all...] |
/freebsd-current/contrib/wpa/src/drivers/ |
H A D | driver_wired.c | 39 u16 ethertype; member in struct:ieee8023_hdr 89 * 2 byte ethertype */ 98 switch (ntohs(hdr->ethertype)) { 112 wpa_printf(MSG_DEBUG, "Unknown ethertype 0x%04x in data frame", 113 ntohs(hdr->ethertype)); 308 hdr->ethertype = htons(ETH_P_PAE);
|
H A D | 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);
|
H A D | 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);
|
H A D | driver_macsec_linux.c | 1417 * 2 byte ethertype */ 1426 switch (ntohs(hdr->ethertype)) { 1440 wpa_printf(MSG_DEBUG, "Unknown ethertype 0x%04x in data frame", 1441 ntohs(hdr->ethertype)); 1596 hdr->ethertype = htons(ETH_P_PAE);
|
H A D | driver_nl80211_event.c | 2805 u16 ethertype; local 2813 ethertype = nla_get_u16(tb[NL80211_ATTR_CONTROL_PORT_ETHERTYPE]); 2815 switch (ethertype) { 2827 wpa_printf(MSG_INFO, "nl80211: Unxpected ethertype 0x%04x from " 2829 ethertype, MAC2STR(src_addr));
|
/freebsd-current/contrib/libpcap/msdos/ |
H A D | 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
|
/freebsd-current/sys/dev/ice/ |
H A D | ice_protocol_type.h | 307 struct ice_ethtype_hdr ethertype; member in union:ice_prot_hdr 323 * for e.g. dst address is 3 words in ethertype header and corresponding bytes
|
H A D | ice_switch.h | 143 * if just using ethertype as filter. Set lkup_type as 148 u16 ethertype; member in struct:ice_fltr_info::__anon77::__anon81
|
H A D | ice_lib.c | 127 u16 ethertype, u16 direction, 5996 fi->l_data.ethertype_mac.ethertype, 6067 fi->l_data.ethertype_mac.ethertype, 9079 * @ethertype: the Ethertype to filter on 9090 u16 ethertype, u16 direction, 9106 entry->fltr_info.l_data.ethertype_mac.ethertype = ethertype; 9175 * ice_add_rx_lldp_filter - add ethertype filter for Rx LLDP frames 9178 * Add a switch ethertype filter which forwards the LLDP frames to the main PF 9243 * ice_del_rx_lldp_filter - Remove ethertype filte 9089 ice_add_ethertype_to_list(struct ice_vsi *vsi, struct ice_list_head *list, u16 ethertype, u16 direction, enum ice_sw_fwd_act_type action) argument [all...] |
/freebsd-current/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_fs_tree.c | 2720 MLX5_SET(fte_match_set_lyr_2_4, rocev1_rule->match_criteria, ethertype, 2722 MLX5_SET(fte_match_set_lyr_2_4, rocev1_rule->match_value, ethertype, 2748 MLX5_SET(fte_match_set_lyr_2_4, ipv4_rule->match_criteria, ethertype, 2750 MLX5_SET(fte_match_set_lyr_2_4, ipv4_rule->match_value, ethertype, 2763 MLX5_SET(fte_match_set_lyr_2_4, ipv6_rule->match_criteria, ethertype, 2765 MLX5_SET(fte_match_set_lyr_2_4, ipv6_rule->match_value, ethertype,
|
/freebsd-current/sys/contrib/dev/mediatek/mt76/ |
H A D | mt76_connac_mac.c | 362 u16 ethertype; local 376 ethertype = get_unaligned_be16(&skb->data[12]); 377 if (ethertype >= ETH_P_802_3_MIN)
|
/freebsd-current/contrib/tcpdump/ |
H A D | Makefile.in | 281 ethertype.h \
|
/freebsd-current/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_main.c | 1885 ethertype, ntohs(ib_spec->eth.mask.ether_type)); 1887 ethertype, ntohs(ib_spec->eth.val.ether_type)); 1894 ethertype, 0xffff); 1896 ethertype, ETH_P_IP); 1926 ethertype, 0xffff); 1928 ethertype, ETH_P_IPV6); 2039 /* Validate that ethertype is correct */
|
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7996/ |
H A D | mac.c | 734 u16 ethertype; local 748 ethertype = get_unaligned_be16(&skb->data[12]); 749 if (ethertype >= ETH_P_802_3_MIN)
|
/freebsd-current/contrib/wpa/src/pae/ |
H A D | ieee802_1x_kay.c | 2454 ether_hdr->ethertype = host_to_be16(ETH_P_EAPOL); 2458 be_to_host16(ether_hdr->ethertype)); 3087 be_to_host16(eth_hdr->ethertype)); 3438 if (be_to_host16(eth_hdr->ethertype) != ETH_P_PAE ||
|
/freebsd-current/contrib/libpcap/ |
H A D | Makefile.in | 137 ethertype.h \
|
/freebsd-current/sys/contrib/alpine-hal/eth/ |
H A D | al_hal_eth_ec_regs.h | 690 uint32_t ethertype; member in struct:al_ec_wol 2659 /**** ethertype register ****/
|
/freebsd-current/contrib/wpa/hostapd/ |
H A D | ctrl_iface.c | 2184 u16 ethertype; local 2210 ethertype = ntohs(eth->ether_type); 2212 l2 = l2_packet_init(ifname, hapd->own_addr, ethertype, 2217 res = l2_packet_send(l2, eth->ether_dhost, ethertype, buf, len);
|
/freebsd-current/contrib/wpa/wpa_supplicant/ |
H A D | ctrl_iface.c | 9738 u16 ethertype; local 9754 ethertype = ntohs(eth->ether_type); 9756 l2 = l2_packet_init(wpa_s->ifname, wpa_s->own_addr, ethertype, 9761 res = l2_packet_send(l2, eth->ether_dhost, ethertype, buf, len); 10661 /* format: <dst> <packet starting from ethertype> */
|