| /freebsd-13.1/sys/netgraph/ |
| H A D | ng_etf.c | 137 u_int16_t ethertype; /* network order ethertype */ member 158 ng_etf_findentry(etf_p etfp, u_int16_t ethertype) in ng_etf_findentry() argument 160 struct filterhead *chain = etfp->hashtable + HASH(ethertype); in ng_etf_findentry() 164 if (fil->ethertype == ethertype) { in ng_etf_findentry() 308 htons(f->ethertype))) { in ng_etf_rcvmsg() 325 fil->ethertype = htons(f->ethertype); in ng_etf_rcvmsg() 327 + HASH(fil->ethertype), in ng_etf_rcvmsg() 370 u_int16_t ethertype; in ng_etf_rcvdata() local 394 ethertype = eh->ether_type; in ng_etf_rcvdata() 395 fil = ng_etf_findentry(etfp, ethertype); in ng_etf_rcvdata()
|
| H A D | ng_etf.h | 80 u_int16_t ethertype; /* this ethertype to this hook */ member
|
| /freebsd-13.1/sys/dev/mlx5/mlx5_en/ |
| H A D | mlx5_en_flow_table.c | 331 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, in mlx5e_add_eth_addr_rule_sub() 344 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() 373 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, in mlx5e_add_eth_addr_rule_sub() 388 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, in mlx5e_add_eth_addr_rule_sub() 401 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, in mlx5e_add_eth_addr_rule_sub() 417 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, in mlx5e_add_eth_addr_rule_sub() 430 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, in mlx5e_add_eth_addr_rule_sub() 445 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, in mlx5e_add_eth_addr_rule_sub() 458 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, in mlx5e_add_eth_addr_rule_sub() [all …]
|
| /freebsd-13.1/sys/dev/netmap/ |
| H A D | netmap_offloadings.c | 275 uint16_t ethertype; in bdg_mismatch_datapath() local 287 ethertype = be16toh(*((uint16_t *) in bdg_mismatch_datapath() 289 if (ethertype != 0x8100) /* not 802.1q */ in bdg_mismatch_datapath() 293 switch (ethertype) { in bdg_mismatch_datapath() 317 nm_prdis(3, "type=%04x", ethertype); in bdg_mismatch_datapath()
|
| /freebsd-13.1/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-13.1/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 | 1426 switch (ntohs(hdr->ethertype)) { in macsec_drv_handle_data() 1441 ntohs(hdr->ethertype)); in macsec_drv_handle_data() 1596 hdr->ethertype = htons(ETH_P_PAE); in macsec_drv_send_eapol()
|
| H A D | driver_nl80211_event.c | 2805 u16 ethertype; in nl80211_control_port_frame() local 2813 ethertype = nla_get_u16(tb[NL80211_ATTR_CONTROL_PORT_ETHERTYPE]); in nl80211_control_port_frame() 2815 switch (ethertype) { in nl80211_control_port_frame() 2829 ethertype, MAC2STR(src_addr)); in nl80211_control_port_frame()
|
| /freebsd-13.1/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-13.1/contrib/wpa/src/common/ |
| H A D | eapol_common.h | 28 be16 ethertype; member
|
| /freebsd-13.1/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-13.1/sys/dev/ice/ |
| H A D | ice_protocol_type.h | 299 struct ice_ethtype_hdr ethertype; member
|
| H A D | ice_switch.h | 149 u16 ethertype; member
|
| H A D | ice_lib.c | 128 u16 ethertype, u16 direction, 5435 fi->l_data.ethertype_mac.ethertype, in ice_sysctl_dump_ethertype_filters() 5506 fi->l_data.ethertype_mac.ethertype, in ice_sysctl_dump_ethertype_mac_filters() 7986 u16 ethertype, u16 direction, in ice_add_ethertype_to_list() argument 8002 entry->fltr_info.l_data.ethertype_mac.ethertype = ethertype; in ice_add_ethertype_to_list()
|
| /freebsd-13.1/sys/dev/mlx5/mlx5_core/ |
| H A D | mlx5_fs_tree.c | 2652 MLX5_SET(fte_match_set_lyr_2_4, rocev1_rule->match_criteria, ethertype, in set_rocev1_rules() 2654 MLX5_SET(fte_match_set_lyr_2_4, rocev1_rule->match_value, ethertype, in set_rocev1_rules() 2680 MLX5_SET(fte_match_set_lyr_2_4, ipv4_rule->match_criteria, ethertype, in set_rocev2_rules() 2682 MLX5_SET(fte_match_set_lyr_2_4, ipv4_rule->match_value, ethertype, in set_rocev2_rules() 2695 MLX5_SET(fte_match_set_lyr_2_4, ipv6_rule->match_criteria, ethertype, in set_rocev2_rules() 2697 MLX5_SET(fte_match_set_lyr_2_4, ipv6_rule->match_value, ethertype, in set_rocev2_rules()
|
| /freebsd-13.1/contrib/tcpdump/ |
| H A D | INSTALL.txt | 68 ethertype.h - Ethernet type value definitions
|
| H A D | Makefile.in | 264 ethertype.h \
|
| /freebsd-13.1/sys/dev/mlx5/mlx5_ib/ |
| H A D | mlx5_ib_main.c | 1936 ethertype, ntohs(ib_spec->eth.mask.ether_type)); in parse_flow_attr() 1938 ethertype, ntohs(ib_spec->eth.val.ether_type)); in parse_flow_attr() 1945 ethertype, 0xffff); in parse_flow_attr() 1947 ethertype, ETH_P_IP); in parse_flow_attr() 1977 ethertype, 0xffff); in parse_flow_attr() 1979 ethertype, IPPROTO_IPV6); in parse_flow_attr()
|
| /freebsd-13.1/contrib/wpa/src/pae/ |
| H A D | ieee802_1x_kay.c | 2454 ether_hdr->ethertype = host_to_be16(ETH_P_EAPOL); in ieee802_1x_kay_encode_mkpdu() 2458 be_to_host16(ether_hdr->ethertype)); in ieee802_1x_kay_encode_mkpdu() 3087 be_to_host16(eth_hdr->ethertype)); in ieee802_1x_kay_mkpdu_validity_check() 3438 if (be_to_host16(eth_hdr->ethertype) != ETH_P_PAE || in kay_l2_receive()
|
| /freebsd-13.1/contrib/wpa/hostapd/ |
| H A D | ctrl_iface.c | 2184 u16 ethertype; in hostapd_ctrl_iface_data_test_frame() local 2210 ethertype = ntohs(eth->ether_type); in hostapd_ctrl_iface_data_test_frame() 2212 l2 = l2_packet_init(ifname, hapd->own_addr, ethertype, in hostapd_ctrl_iface_data_test_frame() 2217 res = l2_packet_send(l2, eth->ether_dhost, ethertype, buf, len); in hostapd_ctrl_iface_data_test_frame()
|