/linux/include/linux/ |
H A D | if_vlan.h | 41 * struct vlan_ethhdr - vlan ethernet header (ethhdr + vlan_hdr) 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() 358 struct vlan_ethhdr *veth; in __vlan_insert_inner_tag() 371 veth = (struct vlan_ethhdr *)(skb->data + mac_len - ETH_HLEN); in __vlan_insert_inner_tag() 552 struct vlan_ethhdr *veth = skb_vlan_eth_hdr(skb); in __vlan_get_tag() 776 struct vlan_ethhdr *ve in skb_vlan_tagged_multi() [all...] |
/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 | nft_inner.c | 66 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/steering/hws/ |
H A D | fs_hws_pools.h | 12 #define MLX5_FS_INSERT_HDR_VLAN_OFFSET offsetof(struct vlan_ethhdr, h_vlan_proto)
|
H A D | fs_hws.c | 1197 params->param_1 != offsetof(struct vlan_ethhdr, h_vlan_proto) || in mlx5_fs_get_action_remove_header_vlan()
|
/linux/net/batman-adv/ |
H A D | main.c | 360 struct vlan_ethhdr *vhdr, vhdr_tmp; in batadv_skb_set_priority() 624 struct vlan_ethhdr *vhdr; in batadv_get_vid() 633 vhdr = (struct vlan_ethhdr *)(skb->data + header_len); in batadv_get_vid()
|
H A D | mesh-interface.c | 180 struct vlan_ethhdr *vhdr; in batadv_interface_tx() 408 struct vlan_ethhdr *vhdr; in batadv_interface_rx()
|
H A D | gateway_client.c | 560 struct vlan_ethhdr *vhdr; in batadv_gw_dhcp_recipient_get()
|
/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 | 104 struct vlan_ethhdr *veth = (struct vlan_ethhdr *)(skb->data); in vlan_dev_hard_start_xmit() 485 struct vlan_ethhdr *veth = (struct vlan_ethhdr *)(skb->data); in vlan_parse_protocol()
|
/linux/net/hsr/ |
H A D | hsr_main.h | 81 struct vlan_ethhdr vlanhdr;
|
/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/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | bridge.c | 49 offsetof(struct vlan_ethhdr, h_vlan_proto); in mlx5_esw_bridge_pkt_reformat_vlan_pop_supported() 59 reformat_params.param_1 = offsetof(struct vlan_ethhdr, h_vlan_proto); in mlx5_esw_bridge_pkt_reformat_vlan_pop_create() 1037 offsetof(struct vlan_ethhdr, h_vlan_proto)) { in mlx5_esw_bridge_vlan_push_create() 1044 reformat_params.param_1 = offsetof(struct vlan_ethhdr, h_vlan_proto); in mlx5_esw_bridge_vlan_push_create()
|
/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() 3148 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/ |
H A D | tap.c | 737 vlan_offset = offsetof(struct vlan_ethhdr, h_vlan_proto); in tap_put_user()
|
/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()
|