Searched refs:ethertype (Results 1 - 22 of 22) sorted by relevance

/freebsd-11-stable/sys/netgraph/
H A Dng_etf.h78 u_int16_t ethertype; /* this ethertype to this hook */ member in struct:ng_etffilter
86 { "ethertype", &ng_parse_uint16_type }, \
H A Dng_etf.c135 u_int16_t ethertype; /* network order ethertype */ member in struct:filter
156 ng_etf_findentry(etf_p etfp, u_int16_t ethertype) argument
158 struct filterhead *chain = etfp->hashtable + HASH(ethertype);
163 if (fil->ethertype == ethertype) {
306 /* Check we don't already trap this ethertype */
308 htons(f->ethertype))) {
325 fil->ethertype = htons(f->ethertype);
370 u_int16_t ethertype; local
[all...]
/freebsd-11-stable/contrib/wpa/src/common/
H A Deapol_common.h28 be16 ethertype; member in struct:ieee8023_hdr
/freebsd-11-stable/tests/sys/netgraph/
H A Dvlan_rotate.c235 ATF_TC(ethertype); variable
236 ATF_TC_HEAD(ethertype, conf)
241 ATF_TC_BODY(ethertype, dummy)
329 ATF_TP_ADD_TC(vlan_rotate, ethertype);
/freebsd-11-stable/sys/dev/netmap/
H A Dnetmap_offloadings.c273 uint16_t ethertype; local
285 ethertype = be16toh(*((uint16_t *)
287 if (ethertype != 0x8100) /* not 802.1q */
291 switch (ethertype) {
311 nm_prlim(1, "Unsupported ethertype, "
315 nm_prdis(3, "type=%04x", ethertype);
/freebsd-11-stable/contrib/wpa/src/drivers/
H A Ddriver_wired.c39 u16 ethertype; member in struct:ieee8023_hdr
89 * 2 byte ethertype */
98 switch (ntohs(hdr->ethertype)) {
112 wpa_printf(MSG_DEBUG, "Unknown ethertype 0x%04x in data frame",
113 ntohs(hdr->ethertype));
308 hdr->ethertype = htons(ETH_P_PAE);
H A Ddriver_hostap.c62 u16 fc, ethertype; local
100 printf("No ethertype in data frame\n");
104 ethertype = WPA_GET_BE16(pos);
107 switch (ethertype) {
113 printf("Unknown ethertype 0x%04x in data frame\n", ethertype);
H A Ddriver_macsec_qca.c143 * and 2 bytes ethertype
153 switch (ntohs(hdr->ethertype)) {
166 wpa_printf(MSG_DEBUG, "Unknown ethertype 0x%04x in data frame",
167 ntohs(hdr->ethertype));
367 hdr->ethertype = htons(ETH_P_PAE);
H A Ddriver_macsec_linux.c1416 * 2 byte ethertype */
1425 switch (ntohs(hdr->ethertype)) {
1439 wpa_printf(MSG_DEBUG, "Unknown ethertype 0x%04x in data frame",
1440 ntohs(hdr->ethertype));
1595 hdr->ethertype = htons(ETH_P_PAE);
/freebsd-11-stable/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_flow_table.c276 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.ethertype);
281 MLX5_SET(fte_match_param, mv, outer_headers.ethertype,
294 MLX5_SET(fte_match_param, mv, outer_headers.ethertype,
310 MLX5_SET(fte_match_param, mv, outer_headers.ethertype,
323 MLX5_SET(fte_match_param, mv, outer_headers.ethertype,
338 MLX5_SET(fte_match_param, mv, outer_headers.ethertype,
351 MLX5_SET(fte_match_param, mv, outer_headers.ethertype,
367 MLX5_SET(fte_match_param, mv, outer_headers.ethertype,
380 MLX5_SET(fte_match_param, mv, outer_headers.ethertype,
395 MLX5_SET(fte_match_param, mv, outer_headers.ethertype,
[all...]
/freebsd-11-stable/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-11-stable/sys/dev/mlx5/mlx5_core/
H A Dmlx5_fs_tree.c2636 MLX5_SET(fte_match_set_lyr_2_4, rocev1_rule->match_criteria, ethertype,
2638 MLX5_SET(fte_match_set_lyr_2_4, rocev1_rule->match_value, ethertype,
2664 MLX5_SET(fte_match_set_lyr_2_4, ipv4_rule->match_criteria, ethertype,
2666 MLX5_SET(fte_match_set_lyr_2_4, ipv4_rule->match_value, ethertype,
2679 MLX5_SET(fte_match_set_lyr_2_4, ipv6_rule->match_criteria, ethertype,
2681 MLX5_SET(fte_match_set_lyr_2_4, ipv6_rule->match_value, ethertype,
/freebsd-11-stable/contrib/tcpdump/
H A DMakefile.in264 ethertype.h \
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_main.c1742 ethertype, ntohs(ib_spec->eth.mask.ether_type));
1744 ethertype, ntohs(ib_spec->eth.val.ether_type));
1751 ethertype, 0xffff);
1753 ethertype, ETH_P_IP);
1783 ethertype, 0xffff);
1785 ethertype, IPPROTO_IPV6);
1896 /* Validate that ethertype is correct */
/freebsd-11-stable/contrib/wpa/src/pae/
H A Dieee802_1x_kay.c2417 ether_hdr->ethertype = host_to_be16(ETH_P_EAPOL);
2421 be_to_host16(ether_hdr->ethertype));
3050 be_to_host16(eth_hdr->ethertype));
3401 if (be_to_host16(eth_hdr->ethertype) != ETH_P_PAE ||
/freebsd-11-stable/contrib/wpa/hostapd/
H A Dctrl_iface.c1989 u16 ethertype; local
2015 ethertype = ntohs(eth->ether_type);
2017 l2 = l2_packet_init(ifname, hapd->own_addr, ethertype,
2022 res = l2_packet_send(l2, eth->ether_dhost, ethertype, buf, len);
/freebsd-11-stable/contrib/libpcap/
H A DMakefile.in128 ethertype.h \
/freebsd-11-stable/sys/contrib/alpine-hal/eth/
H A Dal_hal_eth_ec_regs.h690 uint32_t ethertype; member in struct:al_ec_wol
2659 /**** ethertype register ****/
H A Dal_hal_eth_main.c4333 al_reg_write32(&adapter->ec_regs_base->wol.ethertype, reg);
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Dctrl_iface.c9060 u16 ethertype; local
9076 ethertype = ntohs(eth->ether_type);
9078 l2 = l2_packet_init(wpa_s->ifname, wpa_s->own_addr, ethertype,
9083 res = l2_packet_send(l2, eth->ether_dhost, ethertype, buf, len);
9874 /* format: <dst> <packet starting from ethertype> */
/freebsd-11-stable/sys/dev/bnxt/
H A Dhsi_struct_def.h18128 * can be used for Receive Flow Steering (RFS). # For ethertype value, only
18181 /* This bit must be '1' for the ethertype field to be configured. */
18224 uint16_t ethertype; /* big endian */ member in struct:hwrm_cfa_ntuple_filter_alloc_input
18225 /* This value indicates the ethertype in the Ethernet header. */
18662 /* This bit must be '1' for the ethertype field to be configured. */
18746 uint16_t ethertype; /* big endian */ member in struct:hwrm_cfa_em_flow_alloc_input
18747 /* This value indicates the ethertype in the Ethernet header. */
19749 /* This bit must be '1' for the ethertype field to be configured. */
19826 uint16_t ethertype; /* big endian */ member in struct:hwrm_cfa_decap_filter_alloc_input
19827 /* This value indicates the ethertype i
20080 uint16_t ethertype; /* big endian */ member in struct:hwrm_cfa_flow_alloc_input
[all...]
/freebsd-11-stable/sys/dev/mlx5/
H A Dmlx5_ifc.h484 u8 ethertype[0x10]; member in struct:mlx5_ifc_fte_match_set_lyr_2_4_bits

Completed in 460 milliseconds