Home
last modified time | relevance | path

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

12

/freebsd-11-stable/sys/netgraph/
HDng_etf.c135 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()
163 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()
HDng_etf.h78 u_int16_t ethertype; /* this ethertype to this hook */ member
/freebsd-11-stable/sys/dev/mlx5/mlx5_en/
HDmlx5_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-11-stable/sys/dev/netmap/
HDnetmap_offloadings.c273 uint16_t ethertype; in bdg_mismatch_datapath() local
285 ethertype = be16toh(*((uint16_t *) in bdg_mismatch_datapath()
287 if (ethertype != 0x8100) /* not 802.1q */ in bdg_mismatch_datapath()
291 switch (ethertype) { in bdg_mismatch_datapath()
315 nm_prdis(3, "type=%04x", ethertype); in bdg_mismatch_datapath()
/freebsd-11-stable/tests/sys/netgraph/
HDvlan_rotate.c235 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-11-stable/contrib/wpa/src/drivers/
HDdriver_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()
HDdriver_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()
HDdriver_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()
HDdriver_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-11-stable/contrib/libpcap/msdos/
HDmakefile128 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-11-stable/sys/dev/cxgbe/firmware/
HDt4fw_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
HDt5fw_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
HDt6fw_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
HDt6fw_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-11-stable/contrib/wpa/src/common/
HDeapol_common.h28 be16 ethertype; member
/freebsd-11-stable/sys/dev/mlx5/mlx5_core/
HDmlx5_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-11-stable/sys/dev/mlx5/mlx5_ib/
HDmlx5_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-11-stable/contrib/tcpdump/
HDINSTALL.txt68 ethertype.h - Ethernet type value definitions
HDMakefile.in264 ethertype.h \
/freebsd-11-stable/contrib/wpa/src/pae/
HDieee802_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-11-stable/contrib/wpa/hostapd/
HDctrl_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-11-stable/sys/contrib/alpine-hal/eth/
HDal_hal_eth_ec_regs.h690 uint32_t ethertype; member
/freebsd-11-stable/contrib/libpcap/
HDMakefile.in128 ethertype.h \
HDINSTALL.txt291 ethertype.h - Ethernet protocol types and names definitions
HDINSTALL.md286 ethertype.h - Ethernet protocol types and names definitions

12