Searched refs:ethertype (Results 1 – 11 of 11) sorted by relevance
/net/802/ |
D | fddi.c | 67 fddi->hdr.llc_snap.ethertype = htons(type); in fddi_header() 114 type=fddi->hdr.llc_snap.ethertype; in fddi_type_trans()
|
D | hippi.c | 76 hip->snap.ethertype = htons(type); in hippi_header() 110 return hip->snap.ethertype; in hippi_type_trans()
|
D | fc.c | 53 fcllc->ethertype = htons(type); in fc_header()
|
/net/sched/ |
D | cls_flower.c | 804 __be16 ethertype, in fl_set_key_vlan() argument 823 key_val->vlan_tpid = ethertype; in fl_set_key_vlan() 1084 __be16 ethertype; in fl_set_key() local 1103 ethertype = nla_get_be16(tb[TCA_FLOWER_KEY_ETH_TYPE]); in fl_set_key() 1105 if (eth_type_vlan(ethertype)) { in fl_set_key() 1106 fl_set_key_vlan(tb, ethertype, TCA_FLOWER_KEY_VLAN_ID, in fl_set_key() 1112 ethertype = nla_get_be16(tb[TCA_FLOWER_KEY_VLAN_ETH_TYPE]); in fl_set_key() 1113 if (eth_type_vlan(ethertype)) { in fl_set_key() 1114 fl_set_key_vlan(tb, ethertype, in fl_set_key() 1125 key->basic.n_proto = ethertype; in fl_set_key() [all …]
|
/net/mac80211/ |
D | tx.c | 2382 u16 ethertype = (skb->data[12] << 8) | skb->data[13]; in ieee80211_is_tdls_setup() local 2384 return ethertype == ETH_P_TDLS && in ieee80211_is_tdls_setup() 2484 u16 ethertype, hdrlen, meshhdrlen = 0; in ieee80211_build_hdr() local 2510 ethertype = (skb->data[12] << 8) | skb->data[13]; in ieee80211_build_hdr() 2658 cpu_to_be16(ethertype) != sdata->control_port_protocol) { in ieee80211_build_hdr() 2737 (cpu_to_be16(ethertype) != sdata->control_port_protocol || in ieee80211_build_hdr() 2795 if (ethertype == ETH_P_AARP || ethertype == ETH_P_IPX) { in ieee80211_build_hdr() 2799 } else if (ethertype >= ETH_P_802_3_MIN) { in ieee80211_build_hdr() 3454 u16 ethertype = (skb->data[12] << 8) | skb->data[13]; in ieee80211_xmit_fast() local 3466 if (cpu_to_be16(ethertype) == sdata->control_port_protocol) in ieee80211_xmit_fast() [all …]
|
D | rx.c | 1503 __be16 ethertype; in ieee80211_rx_h_check() local 1510 skb_copy_bits(rx->skb, hdrlen + 6, ðertype, 2); in ieee80211_rx_h_check() 1511 if (ethertype == rx->sdata->control_port_protocol) in ieee80211_rx_h_check() 2369 __be16 ethertype; in ieee80211_drop_unencrypted() local 2382 if (skb_copy_bits(rx->skb, ethertype_offset, ðertype, 2) == 0 && in ieee80211_drop_unencrypted() 2383 ethertype == rx->sdata->control_port_protocol) in ieee80211_drop_unencrypted()
|
/net/wireless/ |
D | util.c | 719 u16 ethertype; in ieee80211_amsdu_to_8023s() local 775 ethertype = (payload[6] << 8) | payload[7]; in ieee80211_amsdu_to_8023s() 777 ethertype != ETH_P_AARP && ethertype != ETH_P_IPX) || in ieee80211_amsdu_to_8023s() 779 eth.h_proto = htons(ethertype); in ieee80211_amsdu_to_8023s()
|
/net/openvswitch/ |
D | flow.c | 374 __be16 ethertype; in parse_ethertype() member 399 if (eth_proto_is_802_3(llc->ethertype)) in parse_ethertype() 400 return llc->ethertype; in parse_ethertype()
|
D | actions.c | 179 const __be16 ethertype) in pop_mpls() argument 183 err = skb_mpls_pop(skb, ethertype, skb->mac_len, in pop_mpls()
|
/net/batman-adv/ |
D | hard-interface.c | 742 __be16 ethertype = htons(ETH_P_BATMAN); in batadv_hardif_enable_interface() local 795 hard_iface->batman_adv_ptype.type = ethertype; in batadv_hardif_enable_interface()
|
/net/core/ |
D | skbuff.c | 5636 __be16 ethertype) in skb_mod_eth_type() argument 5639 __be16 diff[] = { ~hdr->h_proto, ethertype }; in skb_mod_eth_type() 5644 hdr->h_proto = ethertype; in skb_mod_eth_type()
|