Home
last modified time | relevance | path

Searched refs:newoff (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/net/netfilter/
Dnf_conntrack_extend.c42 unsigned int newlen, newoff, oldlen, alloc; in nf_ct_ext_add() local
66 newoff = ALIGN(oldlen, t->align); in nf_ct_ext_add()
67 newlen = newoff + t->len; in nf_ct_ext_add()
84 new->offset[id] = newoff; in nf_ct_ext_add()
86 memset((void *)new + newoff, 0, newlen - newoff); in nf_ct_ext_add()
87 return (void *)new + newoff; in nf_ct_ext_add()
/Linux-v5.4/net/core/
Dskbuff.c6034 unsigned int newlen, newoff; in skb_ext_add() local
6046 newoff = new->chunks; in skb_ext_add()
6048 newoff = SKB_EXT_CHUNKSIZEOF(*new); in skb_ext_add()
6055 newlen = newoff + skb_ext_type_len[id]; in skb_ext_add()
6057 new->offset[id] = newoff; in skb_ext_add()