Searched refs:newoff (Results 1 – 2 of 2) sorted by relevance
94 unsigned int newlen, newoff, oldlen, alloc; in nf_ct_ext_add() local113 newoff = ALIGN(oldlen, __alignof__(struct nf_ct_ext)); in nf_ct_ext_add()114 newlen = newoff + nf_ct_ext_type_len[id]; in nf_ct_ext_add()126 new->offset[id] = newoff; in nf_ct_ext_add()128 memset((void *)new + newoff, 0, newlen - newoff); in nf_ct_ext_add()131 return (void *)new + newoff; in nf_ct_ext_add()
6680 unsigned int newlen, newoff = SKB_EXT_CHUNKSIZEOF(*ext); in __skb_ext_set() local6683 newlen = newoff + skb_ext_type_len[id]; in __skb_ext_set()6685 ext->offset[id] = newoff; in __skb_ext_set()6708 unsigned int newlen, newoff; in skb_ext_add() local6720 newoff = new->chunks; in skb_ext_add()6722 newoff = SKB_EXT_CHUNKSIZEOF(*new); in skb_ext_add()6729 newlen = newoff + skb_ext_type_len[id]; in skb_ext_add()6731 new->offset[id] = newoff; in skb_ext_add()