Home
last modified time | relevance | path

Searched refs:vlan_ethhdr (Results 1 – 25 of 40) sorted by relevance

12

/linux/include/linux/
H A Dif_vlan.h41 * 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 Dnf_flow_table_inet.c15 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 Dnft_payload.c29 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 Dnf_flow_table_ip.c148 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 Dnft_inner.c66 struct vlan_ethhdr *veth, _veth; in nft_inner_parse_l2l3()
/linux/include/linux/dsa/
H A Docelot.h299 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 Dfs_hws_pools.h12 #define MLX5_FS_INSERT_HDR_VLAN_OFFSET offsetof(struct vlan_ethhdr, h_vlan_proto)
H A Dfs_hws.c1197 params->param_1 != offsetof(struct vlan_ethhdr, h_vlan_proto) || in mlx5_fs_get_action_remove_header_vlan()
/linux/net/batman-adv/
H A Dmain.c360 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 Dmesh-interface.c180 struct vlan_ethhdr *vhdr; in batadv_interface_tx()
408 struct vlan_ethhdr *vhdr; in batadv_interface_rx()
H A Dgateway_client.c560 struct vlan_ethhdr *vhdr; in batadv_gw_dhcp_recipient_get()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dvlan_mangle.c22 .mangle.offset = offsetof(struct vlan_ethhdr, h_vlan_TCI), in mlx5e_tc_act_vlan_add_rewrite_action()
/linux/net/8021q/
H A Dvlan_dev.c104 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 Dhsr_main.h81 struct vlan_ethhdr vlanhdr;
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tx.c105 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 Dtx_tso.c150 struct vlan_ethhdr *veh = skb_vlan_eth_hdr(skb); in efx_tso_check_protocol()
/linux/net/dsa/
H A Dtag_8021q.c544 struct vlan_ethhdr *hdr = vlan_eth_hdr(skb); in dsa_8021q_rcv()
H A Dtag_sja1105.c244 struct vlan_ethhdr *hdr; in sja1105_pvid_tag_control_pkt()
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dbridge.c49 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 Dcm.c480 ((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 Dqlcnic_io.c306 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 Dtap.c737 vlan_offset = offsetof(struct vlan_ethhdr, h_vlan_proto); in tap_put_user()
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_cm.c1293 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 Dps3_gelic_net.c743 struct vlan_ethhdr *veth; in gelic_put_vlan_tag()
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_iwarp.c1675 struct vlan_ethhdr *vethh; in qed_iwarp_parse_rx_pkt()
1690 vethh = (struct vlan_ethhdr *)ethh; in qed_iwarp_parse_rx_pkt()

12