Lines Matching defs:offset
292 u8 type, u8 code, int offset, __be32 info)
318 payload += offset;
509 int offset;
522 offset = rp->offset;
527 if (offset >= total_len - 1) {
550 if (offset >= len) {
551 offset -= len;
561 offset += skb_transport_offset(skb);
562 err = skb_copy_bits(skb, offset, &csum, 2);
578 BUG_ON(skb_store_bits(skb, offset, &csum, 2));
703 static int raw6_getfrag(void *from, char *to, int offset, int len, int odd,
708 if (offset < rfv->hlen) {
709 int copy = min(rfv->hlen - offset, len);
712 memcpy(to, rfv->c + offset, copy);
716 csum_partial_copy_nocheck(rfv->c + offset,
721 offset += copy;
729 offset -= rfv->hlen;
731 return ip_generic_getfrag(rfv->msg, to, offset, len, odd, skb);
1013 /* You may get strange result with a positive odd offset;
1021 rp->offset = val;
1076 val = rp->offset;
1183 rp->offset = 2;
1187 rp->offset = 4;