/freebsd/sys/netgraph/ |
H A D | ng_etf.c | 135 u_int16_t ethertype; /* network order ethertype */ member 156 ng_etf_findentry(etf_p etfp, u_int16_t ethertype) in ng_etf_findentry() argument 158 struct filterhead *chain = etfp->hashtable + HASH(ethertype); in ng_etf_findentry() 162 if (fil->ethertype == ethertype) { in ng_etf_findentry() 306 htons(f->ethertype))) { in ng_etf_rcvmsg() 323 fil->ethertype = htons(f->ethertype); in ng_etf_rcvmsg() 325 + HASH(fil->ethertype), in ng_etf_rcvmsg() 368 u_int16_t ethertype; in ng_etf_rcvdata() local 392 ethertype = eh->ether_type; in ng_etf_rcvdata() 393 fil = ng_etf_findentry(etfp, ethertype); in ng_etf_rcvdata()
|
H A D | ng_etf.h | 78 u_int16_t ethertype; /* this ethertype to this hook */ member
|
/freebsd/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_flow_table.c | 309 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.ethertype); in mlx5e_add_eth_addr_rule_sub() 315 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, in mlx5e_add_eth_addr_rule_sub() 325 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, in mlx5e_add_eth_addr_rule_sub() 338 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, in mlx5e_add_eth_addr_rule_sub() 348 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, in mlx5e_add_eth_addr_rule_sub() 360 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, in mlx5e_add_eth_addr_rule_sub() 370 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, in mlx5e_add_eth_addr_rule_sub() 382 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, in mlx5e_add_eth_addr_rule_sub() 392 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, in mlx5e_add_eth_addr_rule_sub() 404 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, in mlx5e_add_eth_addr_rule_sub() [all …]
|
/freebsd/sys/dev/netmap/ |
H A D | netmap_offloadings.c | 274 uint16_t ethertype; in bdg_mismatch_datapath() local 286 ethertype = be16toh(*((uint16_t *) in bdg_mismatch_datapath() 288 if (ethertype != 0x8100) /* not 802.1q */ in bdg_mismatch_datapath() 292 switch (ethertype) { in bdg_mismatch_datapath() 316 nm_prdis(3, "type=%04x", ethertype); in bdg_mismatch_datapath()
|
/freebsd/tests/sys/netgraph/ |
H A D | vlan_rotate.c | 235 ATF_TC(ethertype); 236 ATF_TC_HEAD(ethertype, conf) in ATF_TC_HEAD() argument 241 ATF_TC_BODY(ethertype, dummy) in ATF_TC_BODY() argument 329 ATF_TP_ADD_TC(vlan_rotate, ethertype); in ATF_TP_ADD_TCS()
|
/freebsd/contrib/wpa/src/drivers/ |
H A D | driver_wired.c | 39 u16 ethertype; member 98 switch (ntohs(hdr->ethertype)) { in handle_data() 113 ntohs(hdr->ethertype)); in handle_data() 308 hdr->ethertype = htons(ETH_P_PAE); in wired_send_eapol()
|
H A D | driver_hostap.c | 62 u16 fc, ethertype; in handle_data() local 104 ethertype = WPA_GET_BE16(pos); in handle_data() 107 switch (ethertype) { in handle_data() 113 printf("Unknown ethertype 0x%04x in data frame\n", ethertype); in handle_data()
|
H A D | driver_macsec_qca.c | 153 switch (ntohs(hdr->ethertype)) { in macsec_qca_handle_data() 167 ntohs(hdr->ethertype)); in macsec_qca_handle_data() 389 hdr->ethertype = htons(ETH_P_PAE); in macsec_qca_send_eapol()
|
H A D | driver_macsec_linux.c | 1493 switch (ntohs(hdr->ethertype)) { in macsec_drv_handle_data() 1508 ntohs(hdr->ethertype)); in macsec_drv_handle_data() 1663 hdr->ethertype = htons(ETH_P_PAE); in macsec_drv_send_eapol()
|
H A D | driver_nl80211_event.c | 3672 u16 ethertype; in nl80211_control_port_frame() local 3682 ethertype = nla_get_u16(tb[NL80211_ATTR_CONTROL_PORT_ETHERTYPE]); in nl80211_control_port_frame() 3691 switch (ethertype) { in nl80211_control_port_frame() 3707 ethertype, MAC2STR(src_addr)); in nl80211_control_port_frame()
|
/freebsd/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/sys/dev/cxgbe/firmware/ |
H A D | t4fw_cfg_uwire.txt | 121 # filter tuples : fragmentation, mpshittype, macmatch, ethertype, 515 dcb_app_tlv[0] = 0x8906, ethertype, 3 516 dcb_app_tlv[1] = 0x8914, ethertype, 3 526 dcb_app_tlv[0] = 0x8906, ethertype, 3 527 dcb_app_tlv[1] = 0x8914, ethertype, 3 537 dcb_app_tlv[0] = 0x8906, ethertype, 3 538 dcb_app_tlv[1] = 0x8914, ethertype, 3 548 dcb_app_tlv[0] = 0x8906, ethertype, 3 549 dcb_app_tlv[1] = 0x8914, ethertype, 3
|
H A D | t5fw_cfg_uwire.txt | 136 # filter tuples : fragmentation, mpshittype, macmatch, ethertype, 562 dcb_app_tlv[0] = 0x8906, ethertype, 3 563 dcb_app_tlv[1] = 0x8914, ethertype, 3 574 dcb_app_tlv[0] = 0x8906, ethertype, 3 575 dcb_app_tlv[1] = 0x8914, ethertype, 3 586 dcb_app_tlv[0] = 0x8906, ethertype, 3 587 dcb_app_tlv[1] = 0x8914, ethertype, 3 598 dcb_app_tlv[0] = 0x8906, ethertype, 3 599 dcb_app_tlv[1] = 0x8914, ethertype, 3
|
H A D | t6fw_cfg_fpga.txt | 114 # filter tuples : fragmentation, mpshittype, macmatch, ethertype, 459 dcb_app_tlv[0] = 0x8906, ethertype, 3 460 dcb_app_tlv[1] = 0x8914, ethertype, 3 469 dcb_app_tlv[0] = 0x8906, ethertype, 3 470 dcb_app_tlv[1] = 0x8914, ethertype, 3
|
H A D | t6fw_cfg_uwire.txt | 124 # filter tuples : fragmentation, mpshittype, macmatch, ethertype, 578 dcb_app_tlv[0] = 0x8906, ethertype, 3 579 dcb_app_tlv[1] = 0x8914, ethertype, 3 589 dcb_app_tlv[0] = 0x8906, ethertype, 3 590 dcb_app_tlv[1] = 0x8914, ethertype, 3
|
/freebsd/contrib/wpa/src/common/ |
H A D | eapol_common.h | 28 be16 ethertype; member
|
/freebsd/sys/dev/ice/ |
H A D | ice_protocol_type.h | 307 struct ice_ethtype_hdr ethertype; 323 * for e.g. dst address is 3 words in ethertype header and corresponding bytes 306 struct ice_ethtype_hdr ethertype; global() member
|
H A D | ice_switch.h | 145 * if just using ethertype as filter. Set lkup_type as 150 u16 ethertype; 146 u16 ethertype; global() member
|
/freebsd/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_fs_tree.c |
|
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | mt76_connac_mac.c | 362 u16 ethertype; in mt76_connac2_mac_write_txwi_8023() local 376 ethertype = get_unaligned_be16(&skb->data[12]); in mt76_connac2_mac_write_txwi_8023() 377 if (ethertype >= ETH_P_802_3_MIN) in mt76_connac2_mac_write_txwi_8023()
|
/freebsd/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_main.c | 1885 ethertype, ntohs(ib_spec->eth.mask.ether_type)); in parse_flow_attr() 1887 ethertype, ntohs(ib_spec->eth.val.ether_type)); in parse_flow_attr() 1894 ethertype, 0xffff); in parse_flow_attr() 1896 ethertype, ETH_P_IP); in parse_flow_attr() 1926 ethertype, 0xffff); in parse_flow_attr() 1928 ethertype, ETH_P_IPV6); in parse_flow_attr()
|
/freebsd/contrib/tcpdump/ |
H A D | INSTALL.md | 93 ethertype.h - Ethernet type value definitions
|
H A D | Makefile.in | 281 ethertype.h \
|
/freebsd/contrib/wpa/src/pae/ |
H A D | ieee802_1x_kay.c | 2474 ether_hdr->ethertype = host_to_be16(ETH_P_EAPOL); in ieee802_1x_kay_encode_mkpdu() 2478 be_to_host16(ether_hdr->ethertype)); in ieee802_1x_kay_encode_mkpdu() 3125 be_to_host16(eth_hdr->ethertype)); in ieee802_1x_kay_mkpdu_validity_check() 3476 if (be_to_host16(eth_hdr->ethertype) != ETH_P_PAE || in kay_l2_receive()
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/ |
H A D | mac.c | 734 u16 ethertype; in mt7996_mac_write_txwi_8023() local 748 ethertype = get_unaligned_be16(&skb->data[12]); in mt7996_mac_write_txwi_8023() 749 if (ethertype >= ETH_P_802_3_MIN) in mt7996_mac_write_txwi_8023()
|