Lines Matching defs:len
52 iph->tot_len = htons(skb->len);
72 int iphlen, len;
84 len = skb->len - sizeof(struct udphdr);
85 if (!pskb_may_pull(skb, sizeof(struct udphdr) + min(len, 8)))
97 if (len == 1 && udpdata[0] == 0xff) {
99 } else if (len > sizeof(struct ip_esp_hdr) && udpdata32[0] != 0) {
101 len = sizeof(struct udphdr);
108 if (len == 1 && udpdata[0] == 0xff) {
110 } else if (len > 2 * sizeof(u32) + sizeof(struct ip_esp_hdr) &&
114 len = sizeof(struct udphdr) + 2 * sizeof(u32);
122 * so we need to remove 'len' bytes from the packet (the UDP
132 iph->tot_len = htons(ntohs(iph->tot_len) - len);
133 if (skb->len < iphlen + len) {
142 __skb_pull(skb, len);