Searched refs:meta_len (Results 1 – 2 of 2) sorted by relevance
372 int meta_len; in psample_sample_packet() local376 meta_len = (in_ifindex ? nla_total_size(sizeof(u16)) : 0) + in psample_sample_packet()391 meta_len += psample_tunnel_meta_len(tun_info); in psample_sample_packet()395 if (meta_len + nla_total_size(data_len) > PSAMPLE_MAX_PACKET_SIZE) in psample_sample_packet()396 data_len = PSAMPLE_MAX_PACKET_SIZE - meta_len - NLA_HDRLEN in psample_sample_packet()399 nl_skb = genlmsg_new(meta_len + nla_total_size(data_len), GFP_ATOMIC); in psample_sample_packet()
5701 int mac_len, meta_len; in skb_reorder_vlan_header() local5715 meta_len = skb_metadata_len(skb); in skb_reorder_vlan_header()5716 if (meta_len) { in skb_reorder_vlan_header()5717 meta = skb_metadata_end(skb) - meta_len; in skb_reorder_vlan_header()5718 memmove(meta + VLAN_HLEN, meta, meta_len); in skb_reorder_vlan_header()