Home
last modified time | relevance | path

Searched refs:ethertype (Results 1 – 25 of 28) sorted by relevance

12

/freebsd-12.1/sys/netgraph/
H A Dng_etf.c137 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()
165 if (fil->ethertype == ethertype) { in ng_etf_findentry()
310 htons(f->ethertype))) { in ng_etf_rcvmsg()
327 fil->ethertype = htons(f->ethertype); in ng_etf_rcvmsg()
329 + HASH(fil->ethertype), in ng_etf_rcvmsg()
372 u_int16_t ethertype; in ng_etf_rcvdata() local
396 ethertype = eh->ether_type; in ng_etf_rcvdata()
397 fil = ng_etf_findentry(etfp, ethertype); in ng_etf_rcvdata()
H A Dng_etf.h80 u_int16_t ethertype; /* this ethertype to this hook */ member
/freebsd-12.1/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_flow_table.c276 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.ethertype); in mlx5e_add_eth_addr_rule_sub()
281 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, in mlx5e_add_eth_addr_rule_sub()
294 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, in mlx5e_add_eth_addr_rule_sub()
310 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, in mlx5e_add_eth_addr_rule_sub()
323 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()
351 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, in mlx5e_add_eth_addr_rule_sub()
367 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, in mlx5e_add_eth_addr_rule_sub()
380 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, in mlx5e_add_eth_addr_rule_sub()
395 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, in mlx5e_add_eth_addr_rule_sub()
[all …]
/freebsd-12.1/sys/dev/netmap/
H A Dnetmap_offloadings.c275 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-12.1/contrib/wpa/src/drivers/
H A Ddriver_wired.c39 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 Ddriver_hostap.c62 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 Ddriver_macsec_qca.c153 switch (ntohs(hdr->ethertype)) { in macsec_qca_handle_data()
167 ntohs(hdr->ethertype)); in macsec_qca_handle_data()
367 hdr->ethertype = htons(ETH_P_PAE); in macsec_qca_send_eapol()
H A Ddriver_macsec_linux.c1425 switch (ntohs(hdr->ethertype)) { in macsec_drv_handle_data()
1440 ntohs(hdr->ethertype)); in macsec_drv_handle_data()
1595 hdr->ethertype = htons(ETH_P_PAE); in macsec_drv_send_eapol()
/freebsd-12.1/contrib/libpcap/msdos/
H A Dmakefile128 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-12.1/sys/dev/cxgbe/firmware/
H A Dt5fw_cfg_uwire.txt136 # 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 Dt4fw_cfg_uwire.txt121 # 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 Dt6fw_cfg_fpga.txt114 # 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 Dt6fw_cfg_uwire.txt116 # filter tuples : fragmentation, mpshittype, macmatch, ethertype,
567 dcb_app_tlv[0] = 0x8906, ethertype, 3
568 dcb_app_tlv[1] = 0x8914, ethertype, 3
578 dcb_app_tlv[0] = 0x8906, ethertype, 3
579 dcb_app_tlv[1] = 0x8914, ethertype, 3
/freebsd-12.1/contrib/wpa/src/common/
H A Deapol_common.h28 be16 ethertype; member
/freebsd-12.1/sys/dev/mlx5/mlx5_core/
H A Dmlx5_fs_tree.c2636 MLX5_SET(fte_match_set_lyr_2_4, rocev1_rule->match_criteria, ethertype, in set_rocev1_rules()
2638 MLX5_SET(fte_match_set_lyr_2_4, rocev1_rule->match_value, ethertype, in set_rocev1_rules()
2664 MLX5_SET(fte_match_set_lyr_2_4, ipv4_rule->match_criteria, ethertype, in set_rocev2_rules()
2666 MLX5_SET(fte_match_set_lyr_2_4, ipv4_rule->match_value, ethertype, in set_rocev2_rules()
2679 MLX5_SET(fte_match_set_lyr_2_4, ipv6_rule->match_criteria, ethertype, in set_rocev2_rules()
2681 MLX5_SET(fte_match_set_lyr_2_4, ipv6_rule->match_value, ethertype, in set_rocev2_rules()
/freebsd-12.1/contrib/tcpdump/
H A DINSTALL.txt68 ethertype.h - Ethernet type value definitions
H A DMakefile.in264 ethertype.h \
/freebsd-12.1/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_main.c1742 ethertype, ntohs(ib_spec->eth.mask.ether_type)); in parse_flow_attr()
1744 ethertype, ntohs(ib_spec->eth.val.ether_type)); in parse_flow_attr()
1751 ethertype, 0xffff); in parse_flow_attr()
1753 ethertype, ETH_P_IP); in parse_flow_attr()
1783 ethertype, 0xffff); in parse_flow_attr()
1785 ethertype, IPPROTO_IPV6); in parse_flow_attr()
/freebsd-12.1/contrib/wpa/src/pae/
H A Dieee802_1x_kay.c2417 ether_hdr->ethertype = host_to_be16(ETH_P_EAPOL); in ieee802_1x_kay_encode_mkpdu()
2421 be_to_host16(ether_hdr->ethertype)); in ieee802_1x_kay_encode_mkpdu()
3050 be_to_host16(eth_hdr->ethertype)); in ieee802_1x_kay_mkpdu_sanity_check()
3401 if (be_to_host16(eth_hdr->ethertype) != ETH_P_PAE || in kay_l2_receive()
/freebsd-12.1/contrib/wpa/hostapd/
H A Dctrl_iface.c1989 u16 ethertype; in hostapd_ctrl_iface_data_test_frame() local
2015 ethertype = ntohs(eth->ether_type); in hostapd_ctrl_iface_data_test_frame()
2017 l2 = l2_packet_init(ifname, hapd->own_addr, ethertype, in hostapd_ctrl_iface_data_test_frame()
2022 res = l2_packet_send(l2, eth->ether_dhost, ethertype, buf, len); in hostapd_ctrl_iface_data_test_frame()
/freebsd-12.1/contrib/libpcap/
H A DMakefile.in127 ethertype.h \
H A DINSTALL.txt291 ethertype.h - Ethernet protocol types and names definitions
/freebsd-12.1/sys/contrib/alpine-hal/eth/
H A Dal_hal_eth_ec_regs.h690 uint32_t ethertype; member
/freebsd-12.1/contrib/wpa/wpa_supplicant/
H A Dctrl_iface.c9060 u16 ethertype; in wpas_ctrl_iface_data_test_frame() local
9076 ethertype = ntohs(eth->ether_type); in wpas_ctrl_iface_data_test_frame()
9078 l2 = l2_packet_init(wpa_s->ifname, wpa_s->own_addr, ethertype, in wpas_ctrl_iface_data_test_frame()
9083 res = l2_packet_send(l2, eth->ether_dhost, ethertype, buf, len); in wpas_ctrl_iface_data_test_frame()
/freebsd-12.1/sys/dev/bnxt/
H A Dhsi_struct_def.h18224 uint16_t ethertype; /* big endian */ member
18746 uint16_t ethertype; /* big endian */ member
19826 uint16_t ethertype; /* big endian */ member
20080 uint16_t ethertype; /* big endian */ member

12