Home
last modified time | relevance | path

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

12

/linux-6.6.21/include/linux/
Dif_vlan.h48 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()
352 struct vlan_ethhdr *veth; in __vlan_insert_inner_tag()
365 veth = (struct vlan_ethhdr *)(skb->data + mac_len - ETH_HLEN); in __vlan_insert_inner_tag()
540 struct vlan_ethhdr *veth = skb_vlan_eth_hdr(skb); in __vlan_get_tag()
754 struct vlan_ethhdr *veh; in skb_vlan_tagged_multi()
/linux-6.6.21/net/netfilter/
Dnf_flow_table_inet.c15 struct vlan_ethhdr *veth; in nf_flow_offload_inet_hook()
20 veth = (struct vlan_ethhdr *)skb_mac_header(skb); in nf_flow_offload_inet_hook()
Dnft_payload.c29 struct vlan_ethhdr *veth) in nft_payload_rebuild_vlan_hdr()
47 struct vlan_ethhdr veth; in nft_payload_copy_vlan()
344 case offsetof(struct vlan_ethhdr, h_vlan_TCI): in nft_payload_offload_ll()
352 case offsetof(struct vlan_ethhdr, h_vlan_encapsulated_proto): in nft_payload_offload_ll()
360 case offsetof(struct vlan_ethhdr, h_vlan_TCI) + sizeof(struct vlan_hdr): in nft_payload_offload_ll()
368 case offsetof(struct vlan_ethhdr, h_vlan_encapsulated_proto) + in nft_payload_offload_ll()
Dnf_flow_table_ip.c144 struct vlan_ethhdr *veth; in nf_flow_tuple_encap()
155 veth = (struct vlan_ethhdr *)skb_mac_header(skb); in nf_flow_tuple_encap()
279 struct vlan_ethhdr *veth; in nf_flow_skb_encap_protocol()
283 veth = (struct vlan_ethhdr *)skb_mac_header(skb); in nf_flow_skb_encap_protocol()
Dnf_tables_trace.c47 struct vlan_ethhdr veth; in nf_trace_fill_ll_header()
Dnft_inner.c59 struct vlan_ethhdr *veth, _veth; in nft_inner_parse_l2l3()
/linux-6.6.21/drivers/staging/gdm724x/
Dgdm_lte.c98 struct vlan_ethhdr vlan_eth; in gdm_lte_emulate_arp()
119 memcpy(&vlan_eth, skb_in->data, sizeof(struct vlan_ethhdr)); in gdm_lte_emulate_arp()
217 struct vlan_ethhdr vlan_eth; in gdm_lte_emulate_ndp()
239 memcpy(&vlan_eth, skb_in->data, sizeof(struct vlan_ethhdr)); in gdm_lte_emulate_ndp()
339 struct vlan_ethhdr *vlan_eth; in gdm_lte_tx_nic_type()
438 struct vlan_ethhdr *vlan_eth = skb_vlan_eth_hdr(skb); in gdm_lte_tx()
568 struct vlan_ethhdr vlan_eth; in gdm_lte_netif_rx()
/linux-6.6.21/net/batman-adv/
Dmain.c364 struct vlan_ethhdr *vhdr, vhdr_tmp; in batadv_skb_set_priority()
626 struct vlan_ethhdr *vhdr; in batadv_get_vid()
635 vhdr = (struct vlan_ethhdr *)(skb->data + header_len); in batadv_get_vid()
Dsoft-interface.c193 struct vlan_ethhdr *vhdr; in batadv_interface_tx()
418 struct vlan_ethhdr *vhdr; in batadv_interface_rx()
Dgateway_client.c570 struct vlan_ethhdr *vhdr; in batadv_gw_dhcp_recipient_get()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
Dvlan_mangle.c22 .mangle.offset = offsetof(struct vlan_ethhdr, h_vlan_TCI), in mlx5e_tc_act_vlan_add_rewrite_action()
/linux-6.6.21/net/8021q/
Dvlan_dev.c103 struct vlan_ethhdr *veth = (struct vlan_ethhdr *)(skb->data); in vlan_dev_hard_start_xmit()
531 struct vlan_ethhdr *veth = (struct vlan_ethhdr *)(skb->data); in vlan_parse_protocol()
/linux-6.6.21/net/dsa/
Dtag_ocelot.c20 struct vlan_ethhdr *hdr; in ocelot_xmit_get_vlan_info()
Dtag_sja1105.c244 struct vlan_ethhdr *hdr; in sja1105_pvid_tag_control_pkt()
482 struct vlan_ethhdr *hdr = vlan_eth_hdr(skb); in sja1105_vlan_rcv()
/linux-6.6.21/net/hsr/
Dhsr_main.h79 struct vlan_ethhdr vlanhdr;
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Den_tx.c105 struct vlan_ethhdr *vhdr = (struct vlan_ethhdr *)start; in mlx5e_insert_vlan()
452 h6 = (struct ipv6hdr *)(start + sizeof(struct vlan_ethhdr)); in mlx5e_sq_xmit_wqe()
/linux-6.6.21/drivers/net/ethernet/sfc/
Dtx_tso.c150 struct vlan_ethhdr *veh = skb_vlan_eth_hdr(skb); in efx_tso_check_protocol()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/esw/
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()
1034 offsetof(struct vlan_ethhdr, h_vlan_proto)) { in mlx5_esw_bridge_vlan_push_create()
1041 reformat_params.param_1 = offsetof(struct vlan_ethhdr, h_vlan_proto); in mlx5_esw_bridge_vlan_push_create()
/linux-6.6.21/drivers/infiniband/hw/irdma/
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()
3146 struct vlan_ethhdr *ethh; in irdma_receive_ilq()
/linux-6.6.21/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_io.c306 struct vlan_ethhdr *vh = (struct vlan_ethhdr *)(skb->data); in qlcnic_send_filter()
466 struct vlan_ethhdr *vh; in qlcnic_tx_pkt()
526 vh = (struct vlan_ethhdr *)((char *) hwdesc + 2); in qlcnic_tx_pkt()
/linux-6.6.21/drivers/scsi/fnic/
Dfnic_fcs.c1015 struct vlan_ethhdr *vlan_hdr; in fnic_eth_send()
1069 struct vlan_ethhdr *vlan_hdr; in fnic_send_frame()
/linux-6.6.21/drivers/net/ethernet/chelsio/inline_crypto/chtls/
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-6.6.21/drivers/net/
Dtap.c829 vlan_offset = offsetof(struct vlan_ethhdr, h_vlan_proto); in tap_put_user()
/linux-6.6.21/drivers/net/ethernet/toshiba/
Dps3_gelic_net.c734 struct vlan_ethhdr *veth; in gelic_put_vlan_tag()
/linux-6.6.21/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c1853 struct vlan_ethhdr *vh; in netxen_tso_check()
1930 vh = (struct vlan_ethhdr *)((char *)hwdesc + 2); in netxen_tso_check()

12