| /linux/net/mpls/ |
| H A D | mpls_gso.c | 26 u16 mac_len = skb->mac_len; in mpls_gso_segment() local 46 skb->mac_len = 0; in mpls_gso_segment() 54 mac_len); in mpls_gso_segment() 59 mpls_hlen += mac_len; in mpls_gso_segment() 61 skb->mac_len = mac_len; in mpls_gso_segment() 69 skb_set_network_header(skb, mac_len); in mpls_gso_segment()
|
| /linux/net/nsh/ |
| H A D | nsh.c | 21 if (skb->mac_len) { in nsh_push() 80 unsigned int outer_hlen, mac_len, nsh_len; in nsh_gso_segment() local 89 mac_len = skb->mac_len; in nsh_gso_segment() 106 skb->mac_len = proto == htons(ETH_P_TEB) ? ETH_HLEN : 0; in nsh_gso_segment() 113 mac_offset, mac_len); in nsh_gso_segment() 122 skb->mac_len = mac_len; in nsh_gso_segment()
|
| /linux/net/ipv4/ |
| H A D | gre_offload.c | 24 u16 mac_len = skb->mac_len; in gre_gso_segment() local 42 skb->mac_len = skb_inner_network_offset(skb); in gre_gso_segment() 61 mac_len); in gre_gso_segment() 80 skb->mac_len = mac_len; in gre_gso_segment() 85 skb_set_network_header(skb, mac_len); in gre_gso_segment()
|
| /linux/include/net/ |
| H A D | gso.h | 98 int mac_len) in skb_gso_error_unwind() argument 105 skb->network_header = skb->mac_header + mac_len; in skb_gso_error_unwind() 106 skb->mac_len = mac_len; in skb_gso_error_unwind()
|
| /linux/net/sched/ |
| H A D | act_mpls.c | 60 int mac_len; in tcf_mpls_act() local 69 skb_push_rcsum(skb, skb->mac_len); in tcf_mpls_act() 70 mac_len = skb->mac_len; in tcf_mpls_act() 72 mac_len = skb_network_offset(skb); in tcf_mpls_act() 79 if (skb_mpls_pop(skb, p->tcfm_proto, mac_len, in tcf_mpls_act() 85 if (skb_mpls_push(skb, new_lse, p->tcfm_proto, mac_len, in tcf_mpls_act() 100 new_lse = tcf_mpls_get_lse(NULL, p, mac_len || in tcf_mpls_act() 121 skb_pull_rcsum(skb, skb->mac_len); in tcf_mpls_act()
|
| H A D | act_mirred.c | 258 int mac_len; in tcf_mirred_to_dev() 301 mac_len = at_ingress ? skb->mac_len : in tcf_mirred_to_dev() 305 skb_pull_rcsum(skb_to_send, mac_len); in tcf_mirred_to_dev() 308 skb_push_rcsum(skb_to_send, mac_len); in tcf_mirred_to_dev() 261 int mac_len; tcf_mirred_to_dev() local
|
| H A D | act_sample.c | 192 skb_push(skb, skb->mac_len); in tcf_sample_act() 208 skb_pull(skb, skb->mac_len); in tcf_sample_act()
|
| H A D | act_bpf.c | 49 __skb_push(skb, skb->mac_len); in tcf_bpf_act() 51 __skb_pull(skb, skb->mac_len); in tcf_bpf_act()
|
| /linux/drivers/crypto/marvell/octeontx/ |
| H A D | otx_cptvf_algs.c | 893 int mac_len = crypto_aead_authsize(tfm); in create_aead_ctx_hdr() local 943 req_info->req.param1 = req->cryptlen - mac_len; in create_aead_ctx_hdr() 944 req_info->req.param2 = req->cryptlen + req->assoclen - mac_len; in create_aead_ctx_hdr() 950 fctx->enc.enc_ctrl.e.mac_len = mac_len; in create_aead_ctx_hdr() 1014 u32 mac_len) in create_aead_output_list() argument 1021 outputlen = req->cryptlen + req->assoclen + mac_len; in create_aead_output_list() 1023 outputlen = req->cryptlen + req->assoclen - mac_len; in create_aead_output_list() 1032 u32 enc, u32 mac_len) in create_aead_null_input_list() argument 1041 inputlen = req->cryptlen + req->assoclen - mac_len; in create_aead_null_input_list() 1051 u32 enc, u32 mac_len) in create_aead_null_output_list() argument [all …]
|
| H A D | otx_cptvf_algs.h | 80 u64 mac_len:8; member 90 u64 mac_len:8;
|
| /linux/drivers/crypto/cavium/cpt/ |
| H A D | cptvf_algs.h | 55 u64 mac_len:8; member 65 u64 mac_len:8;
|
| /linux/net/netfilter/ |
| H A D | nf_dup_netdev.c | 41 if (skb_cow_head(skb, skb->mac_len)) in nf_do_netdev_egress() 44 skb_push(skb, skb->mac_len); in nf_fwd_netdev_egress()
|
| /linux/drivers/crypto/marvell/octeontx2/ |
| H A D | otx2_cptvf_algs.h | 71 u64 mac_len:8; member 81 u64 mac_len:8;
|
| /linux/net/openvswitch/ |
| H A D | actions.c | 130 __be32 mpls_lse, __be16 mpls_ethertype, __u16 mac_len) in push_mpls() argument 134 err = skb_mpls_push(skb, mpls_lse, mpls_ethertype, mac_len, !!mac_len); in push_mpls() 138 if (!mac_len) in push_mpls() 150 err = skb_mpls_pop(skb, ethertype, skb->mac_len, in pop_mpls() 1149 len = ovs_cb->mru ? ovs_cb->mru + skb->mac_len : skb->len; in execute_check_pkt_len() 1316 mpls->mpls_ethertype, skb->mac_len); in do_execute_actions() 1321 __u16 mac_len = 0; in do_execute_actions() local 1324 mac_len = skb->mac_len; in do_execute_actions() 1327 mpls->mpls_ethertype, mac_len); in do_execute_actions()
|
| /linux/net/mac802154/ |
| H A D | llsec.c | 631 data = skb_mac_header(skb) + skb->mac_len; in llsec_do_encrypt_unauth() 673 assoclen = skb->mac_len; in llsec_do_encrypt_auth() 675 data = skb_mac_header(skb) + skb->mac_len; in llsec_do_encrypt_auth() 769 skb->mac_len = ieee802154_hdr_push(skb, &hdr); in mac802154_llsec_encrypt() 850 data = skb_mac_header(skb) + skb->mac_len; in llsec_do_decrypt_unauth() 882 assoclen = skb->mac_len; in llsec_do_decrypt_auth() 884 data = skb_mac_header(skb) + skb->mac_len; in llsec_do_decrypt_auth()
|
| /linux/net/ieee802154/6lowpan/ |
| H A D | tx.c | 119 skb_put_data(frag, skb_mac_header(skb), skb->mac_len); in lowpan_alloc_frag() 180 skb_unprocessed = skb->len - skb->mac_len - skb_offset; in lowpan_xmit_fragmented()
|
| /linux/net/ieee802154/ |
| H A D | header_ops.c | 137 skb->mac_len = ret; in ieee802154_mac_cmd_push() 159 skb->mac_len = ret; in ieee802154_beacon_push()
|
| /linux/net/llc/ |
| H A D | llc_station.c | 79 if (skb->mac_len < ETH_HLEN) in llc_station_ac_send_test_r()
|
| H A D | llc_input.c | 133 if (skb->mac_len < ETH_HLEN) in llc_fixup_skb()
|
| H A D | llc_s_ac.c | 161 if (skb->mac_len < ETH_HLEN) in llc_sap_action_send_test_r()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | kfree_skb.c | 42 __u16 mac_len, hdr_len, queue_mapping; member
|
| /linux/drivers/crypto/cavium/nitrox/ |
| H A D | nitrox_req.h | 162 u64 mac_len : 8; member 166 u64 mac_len : 8;
|
| /linux/drivers/net/ieee802154/ |
| H A D | ca8210.c | 1828 skb->mac_len = hlen; in ca8210_skb_rx() 1905 int mac_len, status; in ca8210_skb_tx() local 1912 mac_len = ieee802154_hdr_peek_addrs(skb, &header); in ca8210_skb_tx() 1913 if (mac_len < 0) in ca8210_skb_tx() 1914 return mac_len; in ca8210_skb_tx() 1930 skb->len - mac_len, in ca8210_skb_tx() 1931 &skb->data[mac_len], in ca8210_skb_tx()
|
| /linux/net/xfrm/ |
| H A D | xfrm_input.c | 254 if (skb->mac_len) in xfrm4_remove_tunnel_encap() 291 if (skb->mac_len) in xfrm6_remove_tunnel_encap() 308 err = skb_cow_head(skb, size + skb->mac_len); in xfrm6_remove_beet_encap()
|
| /linux/net/core/ |
| H A D | gso.c | 42 int vlan_depth = skb->mac_len; in skb_mac_gso_segment()
|