/linux/include/linux/ |
H A D | if_vlan.h | 48 struct vlan_ethhdr { struct 60 static inline struct vlan_ethhdr *vlan_eth_hdr(const struct sk_buff *skb) in vlan_eth_hdr() argument 62 return (struct vlan_ethhdr *)skb_mac_header(skb); in vlan_eth_hdr() 68 static inline struct vlan_ethhdr *skb_vlan_eth_hdr(const struct sk_buff *skb) in skb_vlan_eth_hdr() 70 return (struct vlan_ethhdr *)skb->data; in skb_vlan_eth_hdr() 353 struct vlan_ethhdr *veth; in __vlan_insert_inner_tag() 366 veth = (struct vlan_ethhdr *)(skb->data + mac_len - ETH_HLEN); in __vlan_insert_inner_tag() 547 struct vlan_ethhdr *veth = skb_vlan_eth_hdr(skb); in __vlan_get_tag() 771 struct vlan_ethhdr *veh; in skb_vlan_tagged_multi()
|
/linux/net/netfilter/ |
H A D | nf_flow_table_inet.c | 15 struct vlan_ethhdr *veth; in nf_flow_offload_inet_hook() 23 veth = (struct vlan_ethhdr *)skb_mac_header(skb); in nf_flow_offload_inet_hook()
|
H A D | nft_payload.c | 29 struct vlan_ethhdr *veth) in nft_payload_rebuild_vlan_hdr() 47 struct vlan_ethhdr veth; in nft_payload_copy_vlan() 335 case offsetof(struct vlan_ethhdr, h_vlan_TCI): in nft_payload_offload_ll() 343 case offsetof(struct vlan_ethhdr, h_vlan_encapsulated_proto): in nft_payload_offload_ll() 351 case offsetof(struct vlan_ethhdr, h_vlan_TCI) + sizeof(struct vlan_hdr): in nft_payload_offload_ll() 359 case offsetof(struct vlan_ethhdr, h_vlan_encapsulated_proto) + in nft_payload_offload_ll() 822 if (offset >= offsetof(struct vlan_ethhdr, h_vlan_encapsulated_proto)) { in nft_payload_set_vlan() 828 case offsetof(struct vlan_ethhdr, h_vlan_proto): in nft_payload_set_vlan() 840 case offsetof(struct vlan_ethhdr, h_vlan_TCI): in nft_payload_set_vlan()
|
H A D | nf_flow_table_ip.c | 148 struct vlan_ethhdr *veth; in nf_flow_tuple_encap() 159 veth = (struct vlan_ethhdr *)skb_mac_header(skb); in nf_flow_tuple_encap() 283 struct vlan_ethhdr *veth; in nf_flow_skb_encap_protocol() 291 veth = (struct vlan_ethhdr *)skb_mac_header(skb); in nf_flow_skb_encap_protocol()
|
H A D | nf_tables_trace.c | 47 struct vlan_ethhdr veth; in nf_trace_fill_ll_header()
|
H A D | nft_inner.c | 59 struct vlan_ethhdr *veth, _veth; in nft_inner_parse_l2l3()
|
/linux/include/linux/dsa/ |
H A D | ocelot.h | 299 struct vlan_ethhdr *hdr; in ocelot_xmit_get_vlan_info() 308 hdr = (struct vlan_ethhdr *)skb_mac_header(skb); in ocelot_xmit_get_vlan_info()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
H A D | vlan_mangle.c | 22 .mangle.offset = offsetof(struct vlan_ethhdr, h_vlan_TCI), in mlx5e_tc_act_vlan_add_rewrite_action()
|
/linux/net/8021q/ |
H A D | vlan_dev.c | 103 struct vlan_ethhdr *veth = (struct vlan_ethhdr *)(skb->data); in vlan_dev_hard_start_xmit() 509 struct vlan_ethhdr *veth = (struct vlan_ethhdr *)(skb->data); in vlan_parse_protocol()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_tx.c | 105 struct vlan_ethhdr *vhdr = (struct vlan_ethhdr *)start; in mlx5e_insert_vlan() 460 h6 = (struct ipv6hdr *)(start + sizeof(struct vlan_ethhdr)); in mlx5e_sq_xmit_wqe()
|
/linux/drivers/net/ethernet/sfc/ |
H A D | tx_tso.c | 150 struct vlan_ethhdr *veh = skb_vlan_eth_hdr(skb); in efx_tso_check_protocol()
|
/linux/net/dsa/ |
H A D | tag_8021q.c | 544 struct vlan_ethhdr *hdr = vlan_eth_hdr(skb); in dsa_8021q_rcv()
|
H A D | tag_sja1105.c | 244 struct vlan_ethhdr *hdr; in sja1105_pvid_tag_control_pkt()
|
/linux/drivers/infiniband/hw/irdma/ |
H A D | cm.c | 480 ((struct vlan_ethhdr *)ethh)->h_vlan_proto = in irdma_form_uda_cm_frame() 484 ((struct vlan_ethhdr *)ethh)->h_vlan_TCI = htons(vtag); in irdma_form_uda_cm_frame() 486 ((struct vlan_ethhdr *)ethh)->h_vlan_encapsulated_proto = in irdma_form_uda_cm_frame() 513 ((struct vlan_ethhdr *)ethh)->h_vlan_proto = in irdma_form_uda_cm_frame() 517 ((struct vlan_ethhdr *)ethh)->h_vlan_TCI = htons(vtag); in irdma_form_uda_cm_frame() 518 ((struct vlan_ethhdr *)ethh)->h_vlan_encapsulated_proto = in irdma_form_uda_cm_frame() 3147 struct vlan_ethhdr *ethh; in irdma_receive_ilq()
|
/linux/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_io.c | 306 struct vlan_ethhdr *vh = (struct vlan_ethhdr *)(skb->data); in qlcnic_send_filter() 465 struct vlan_ethhdr *vh; in qlcnic_tx_pkt() 525 vh = (struct vlan_ethhdr *)((char *) hwdesc + 2); in qlcnic_tx_pkt()
|
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
H A D | chtls_cm.c | 1293 struct vlan_ethhdr *vlan_eh; in chtls_pass_accept_request() 1347 vlan_eh = (struct vlan_ethhdr *)(req + 1); in chtls_pass_accept_request()
|
/linux/drivers/net/ethernet/toshiba/ |
H A D | ps3_gelic_net.c | 743 struct vlan_ethhdr *veth; in gelic_put_vlan_tag()
|
/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_iwarp.c | 1675 struct vlan_ethhdr *vethh; in qed_iwarp_parse_rx_pkt() 1690 vethh = (struct vlan_ethhdr *)ethh; in qed_iwarp_parse_rx_pkt()
|
/linux/drivers/net/ethernet/myricom/myri10ge/ |
H A D | myri10ge.c | 1278 struct vlan_ethhdr *veh; in myri10ge_vlan_rx() 1284 veh = (struct vlan_ethhdr *)va; in myri10ge_vlan_rx()
|
/linux/drivers/s390/net/ |
H A D | qeth_l3_main.c | 1631 struct vlan_ethhdr *veth = vlan_eth_hdr(skb); in qeth_l3_fill_header()
|
H A D | qeth_l2_main.c | 163 struct vlan_ethhdr *veth = vlan_eth_hdr(skb); in qeth_l2_fill_header()
|
/linux/drivers/infiniband/hw/cxgb4/ |
H A D | cm.c | 4065 struct vlan_ethhdr *vlan_eh = NULL; in rx_pkt() 4124 vlan_eh = (struct vlan_ethhdr *)(req + 1); in rx_pkt()
|
/linux/drivers/net/wireless/ath/wil6210/ |
H A D | txrx.c | 1518 const struct vlan_ethhdr *ethvlan = (void *)skb->data; in wil_check_multicast_to_unicast()
|
/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_txrx.c | 3050 struct vlan_ethhdr *vhdr; in i40e_tx_prepare_vlan_flags()
|
/linux/drivers/net/ethernet/nvidia/ |
H A D | forcedeth.c | 2835 if (((struct vlan_ethhdr *)packet)->h_vlan_proto == htons(ETH_P_8021Q)) { in nv_getlen() 2836 protolen = ntohs(((struct vlan_ethhdr *)packet)->h_vlan_encapsulated_proto); in nv_getlen()
|