Home
last modified time | relevance | path

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

/net/802/
A Dhippi.c76 hip->snap.ethertype = htons(type); in hippi_header()
110 return hip->snap.ethertype; in hippi_type_trans()
A Dfddi.c67 fddi->hdr.llc_snap.ethertype = htons(type); in fddi_header()
114 type=fddi->hdr.llc_snap.ethertype; in fddi_type_trans()
A Dfc.c53 fcllc->ethertype = htons(type); in fc_header()
/net/netfilter/
A Dnf_tables_offload.c57 struct nft_offload_ethertype ethertype = { in nft_flow_rule_transfer_vlan() local
69 match->key.vlan.vlan_tpid = ethertype.value; in nft_flow_rule_transfer_vlan()
70 match->mask.vlan.vlan_tpid = ethertype.mask; in nft_flow_rule_transfer_vlan()
80 match->key.vlan.vlan_tpid = ethertype.value; in nft_flow_rule_transfer_vlan()
81 match->mask.vlan.vlan_tpid = ethertype.mask; in nft_flow_rule_transfer_vlan()
/net/sched/
A Dcls_flower.c1089 __be16 ethertype, in fl_set_key_vlan() argument
1108 if (ethertype) { in fl_set_key_vlan()
1109 key_val->vlan_tpid = ethertype; in fl_set_key_vlan()
1810 *ethertype = 0; in is_vlan_key()
1814 *ethertype = nla_get_be16(tb); in is_vlan_key()
1815 if (good_num_of_vlans || eth_type_vlan(*ethertype)) in is_vlan_key()
1818 key->basic.n_proto = *ethertype; in is_vlan_key()
1874 __be16 ethertype; in fl_set_key() local
1902 fl_set_key_vlan(tb, ethertype, TCA_FLOWER_KEY_VLAN_ID, in fl_set_key()
1908 &ethertype, key, mask, 1)) { in fl_set_key()
[all …]
/net/mac80211/
A Dtx.c2458 u16 ethertype = (skb->data[12] << 8) | skb->data[13]; in ieee80211_is_tdls_setup() local
2460 return ethertype == ETH_P_TDLS && in ieee80211_is_tdls_setup()
2597 u16 ethertype, hdrlen, meshhdrlen = 0; in ieee80211_build_hdr() local
2623 ethertype = (skb->data[12] << 8) | skb->data[13]; in ieee80211_build_hdr()
2889 if (ethertype == ETH_P_AARP || ethertype == ETH_P_IPX) { in ieee80211_build_hdr()
2893 } else if (ethertype >= ETH_P_802_3_MIN) { in ieee80211_build_hdr()
3763 if (ethertype < ETH_P_802_3_MIN) in ieee80211_xmit_fast()
4366 __be16 ethertype; in ieee80211_multicast_to_unicast() local
4385 ethertype = eth->h_proto; in ieee80211_multicast_to_unicast()
4387 ethertype = ethvlan->h_vlan_encapsulated_proto; in ieee80211_multicast_to_unicast()
[all …]
A Dmesh.c760 u16 ethertype; in ieee80211_mesh_xmit_fast() local
776 ethertype = (skb->data[12] << 8) | skb->data[13]; in ieee80211_mesh_xmit_fast()
777 if (ethertype < ETH_P_802_3_MIN) in ieee80211_mesh_xmit_fast()
A Drx.c1522 __be16 ethertype; in ieee80211_rx_h_check() local
1529 skb_copy_bits(rx->skb, hdrlen + 6, &ethertype, 2); in ieee80211_rx_h_check()
1530 if (ethertype == rx->sdata->control_port_protocol) in ieee80211_rx_h_check()
/net/batman-adv/
A Dhard-interface.c707 __be16 ethertype = htons(ETH_P_BATMAN); in batadv_hardif_enable_interface() local
740 hard_iface->batman_adv_ptype.type = ethertype; in batadv_hardif_enable_interface()
/net/openvswitch/
A Dflow.c523 __be16 ethertype; in parse_ethertype() member
548 if (eth_proto_is_802_3(llc->ethertype)) in parse_ethertype()
549 return llc->ethertype; in parse_ethertype()
A Dactions.c146 const __be16 ethertype) in pop_mpls() argument
150 err = skb_mpls_pop(skb, ethertype, skb->mac_len, in pop_mpls()
155 if (ethertype == htons(ETH_P_TEB)) in pop_mpls()
/net/core/
A Dskbuff.c6461 __be16 ethertype) in skb_mod_eth_type() argument
6464 __be16 diff[] = { ~hdr->h_proto, ethertype }; in skb_mod_eth_type()
6469 hdr->h_proto = ethertype; in skb_mod_eth_type()

Completed in 57 milliseconds