Home
last modified time | relevance | path

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

12

/src/sys/netgraph/
H A Dng_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()
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 Dng_etf.h78 u_int16_t ethertype; /* this ethertype to this hook */ member
/src/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_flow_table.c309 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 …]
/src/sys/dev/netmap/
H A Dnetmap_offloadings.c274 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()
/src/tests/sys/netgraph/
H A Dvlan_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()
/src/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()
389 hdr->ethertype = htons(ETH_P_PAE); in macsec_qca_send_eapol()
H A Ddriver_macsec_linux.c1493 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()
/src/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
/src/sys/dev/cxgbe/firmware/
H A Dt7fw_cfg_fpga.txt122 # filter tuples : fragmentation, mpshittype, macmatch, ethertype,
487 dcb_app_tlv[0] = 0x8906, ethertype, 3
488 dcb_app_tlv[1] = 0x8914, ethertype, 3
497 dcb_app_tlv[0] = 0x8906, ethertype, 3
498 dcb_app_tlv[1] = 0x8914, ethertype, 3
506 dcb_app_tlv[0] = 0x8906, ethertype, 3
507 dcb_app_tlv[1] = 0x8914, ethertype, 3
516 dcb_app_tlv[0] = 0x8906, ethertype, 3
517 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 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 Dt7fw_cfg.txt126 # filter tuples : fragmentation, mpshittype, macmatch, ethertype,
611 dcb_app_tlv[0] = 0x8906, ethertype, 3
612 dcb_app_tlv[1] = 0x8914, ethertype, 3
621 dcb_app_tlv[0] = 0x8906, ethertype, 3
622 dcb_app_tlv[1] = 0x8914, ethertype, 3
630 dcb_app_tlv[0] = 0x8906, ethertype, 3
631 dcb_app_tlv[1] = 0x8914, ethertype, 3
640 dcb_app_tlv[0] = 0x8906, ethertype, 3
641 dcb_app_tlv[1] = 0x8914, ethertype, 3
H A Dt7fw_cfg_uwire.txt126 # filter tuples : fragmentation, mpshittype, macmatch, ethertype,
611 dcb_app_tlv[0] = 0x8906, ethertype, 3
612 dcb_app_tlv[1] = 0x8914, ethertype, 3
621 dcb_app_tlv[0] = 0x8906, ethertype, 3
622 dcb_app_tlv[1] = 0x8914, ethertype, 3
630 dcb_app_tlv[0] = 0x8906, ethertype, 3
631 dcb_app_tlv[1] = 0x8914, ethertype, 3
640 dcb_app_tlv[0] = 0x8906, ethertype, 3
641 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.txt124 # 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
/src/contrib/wpa/src/common/
H A Deapol_common.h28 be16 ethertype; member
/src/sys/dev/ice/
H A Dice_protocol_type.h307 struct ice_ethtype_hdr ethertype; member
H A Dice_switch.h150 u16 ethertype; member
/src/sys/dev/aq/
H A Daq_hw.h257 uint16_t ethertype; member
/src/sys/contrib/dev/mediatek/mt76/
H A Dmt76_connac_mac.c366 u16 ethertype; in mt76_connac2_mac_write_txwi_8023() local
380 ethertype = get_unaligned_be16(&skb->data[12]); in mt76_connac2_mac_write_txwi_8023()
381 if (ethertype >= ETH_P_802_3_MIN) in mt76_connac2_mac_write_txwi_8023()
/src/sys/contrib/dev/mediatek/mt76/mt7925/
H A Dmac.c627 u16 ethertype; in mt7925_mac_write_txwi_8023() local
641 ethertype = get_unaligned_be16(&skb->data[12]); in mt7925_mac_write_txwi_8023()
642 if (ethertype >= ETH_P_802_3_MIN) in mt7925_mac_write_txwi_8023()
/src/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_main.c1885 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()
/src/contrib/tcpdump/
H A DINSTALL.md97 ethertype.h - Ethernet type value definitions

12