Lines Matching defs:offset
605 iter->offset = 0;
633 iter->offset += skb->len - hlen;
634 iph->frag_off = htons(iter->offset >> 3);
656 state->offset = (ntohs(iph->frag_off) & IP_OFFSET) << 3;
732 iph->frag_off = htons((state->offset >> 3));
743 state->offset += len;
841 bool first_frag = (iter.offset == 0);
901 bool first_frag = (state.offset == 0);
932 ip_generic_getfrag(void *from, char *to, int offset, int len, int odd, struct sk_buff *skb)
954 int getfrag(void *from, char *to, int offset,
968 int offset = 0;
1163 if (copy > 0 && getfrag(from, data + transhdrlen, offset, copy, fraggap, skb) < 0) {
1171 offset += copy;
1208 offset, copy, off, skb) < 0) {
1235 pfrag->offset)) {
1241 pfrag->offset, 0);
1245 copy = min_t(int, copy, pfrag->size - pfrag->offset);
1247 page_address(pfrag->page) + pfrag->offset,
1248 offset, copy, skb->len, skb) < 0)
1251 pfrag->offset += copy;
1260 offset += copy;
1340 int getfrag(void *from, char *to, int offset, int len,
1531 int getfrag(void *from, char *to, int offset,
1566 static int ip_reply_glue_bits(void *dptr, char *to, int offset,
1571 csum = csum_partial_copy_nocheck(dptr+offset, to, len);