Searched refs:metalen (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/net/ife/ |
D | ife.c | 30 __be16 metalen; member 34 void *ife_encode(struct sk_buff *skb, u16 metalen) in ife_encode() argument 39 int hdrm = metalen + IFE_METAHDRLEN; in ife_encode() 59 metalen += IFE_METAHDRLEN; in ife_encode() 60 ifehdr->metalen = htons(metalen); in ife_encode() 66 void *ife_decode(struct sk_buff *skb, u16 *metalen) in ife_decode() argument 76 ifehdrln = ntohs(ifehdr->metalen); in ife_decode() 87 *metalen = ifehdrln - IFE_METAHDRLEN; in ife_decode()
|
/Linux-v4.19/include/net/ |
D | ife.h | 12 void *ife_encode(struct sk_buff *skb, u16 metalen); 13 void *ife_decode(struct sk_buff *skb, u16 *metalen); 24 static inline void *ife_encode(struct sk_buff *skb, u16 metalen) in ife_encode() argument 29 static inline void *ife_decode(struct sk_buff *skb, u16 *metalen) in ife_decode() argument
|
/Linux-v4.19/net/sched/ |
D | act_ife.c | 686 u16 metalen; in tcf_ife_decode() local 694 tlv_data = ife_decode(skb, &metalen); in tcf_ife_decode() 700 ifehdr_end = tlv_data + metalen; in tcf_ife_decode() 763 u16 metalen = ife_get_sz(skb, ife); in tcf_ife_encode() local 764 int hdrm = metalen + skb->dev->hard_header_len + IFE_METAHDRLEN; in tcf_ife_encode() 779 if (!metalen) { /* no metadata to send */ in tcf_ife_encode() 796 ife_meta = ife_encode(skb, metalen); in tcf_ife_encode()
|
/Linux-v4.19/drivers/net/ |
D | veth.c | 460 u32 pktlen, headroom, act, metalen; in veth_xdp_rcv_skb() local 571 metalen = xdp.data - xdp.data_meta; in veth_xdp_rcv_skb() 572 if (metalen) in veth_xdp_rcv_skb() 573 skb_metadata_set(skb, metalen); in veth_xdp_rcv_skb()
|
/Linux-v4.19/net/core/ |
D | filter.c | 3076 unsigned long metalen = xdp_get_metalen(xdp); in BPF_CALL_2() local 3077 void *data_start = xdp_frame_end + metalen; in BPF_CALL_2() 3084 if (metalen) in BPF_CALL_2() 3086 xdp->data_meta, metalen); in BPF_CALL_2() 3129 unsigned long metalen = xdp->data - meta; in BPF_CALL_2() local 3136 if (unlikely((metalen & (sizeof(__u32) - 1)) || in BPF_CALL_2() 3137 (metalen > 32))) in BPF_CALL_2()
|
D | dev.c | 4279 u32 metalen, act = XDP_DROP; in netif_receive_generic_xdp() local 4349 metalen = xdp->data - xdp->data_meta; in netif_receive_generic_xdp() 4350 if (metalen) in netif_receive_generic_xdp() 4351 skb_metadata_set(skb, metalen); in netif_receive_generic_xdp()
|
/Linux-v4.19/fs/ext4/ |
D | mballoc.c | 2389 int metalen = 0; in ext4_mb_add_groupinfo() local 2400 metalen = sizeof(*meta_group_info) << in ext4_mb_add_groupinfo() 2402 meta_group_info = kmalloc(metalen, GFP_NOFS); in ext4_mb_add_groupinfo()
|