Searched refs:thlen (Results 1 - 6 of 6) sorted by relevance
/linux-master/include/linux/ |
H A D | icmp.h | 41 int thlen, int off);
|
H A D | virtio_net.h | 56 unsigned int thlen = 0; local 65 thlen = sizeof(struct tcphdr); 70 thlen = sizeof(struct tcphdr); 76 thlen = sizeof(struct udphdr); 81 thlen = sizeof(struct udphdr); 99 u32 needed = start + max_t(u32, thlen, off + sizeof(__sum16)); 108 p_off = nh_min_len + thlen; 141 p_off = keys.control.thoff + thlen; 148 p_off = nh_min_len + thlen; 162 nh_off -= thlen; [all...] |
/linux-master/net/core/ |
H A D | gso.c | 146 unsigned int thlen = 0; local 149 thlen = skb_inner_transport_header(skb) - 153 thlen += inner_tcp_hdrlen(skb); 155 thlen = tcp_hdrlen(skb); 157 thlen = sizeof(struct sctphdr); 159 thlen = sizeof(struct udphdr); 165 return thlen + shinfo->gso_size;
|
/linux-master/net/ipv4/ |
H A D | tcp_offload.c | 62 unsigned int thlen; local 72 thlen = th->doff * 4; 73 if (thlen < sizeof(*th)) 76 if (!pskb_may_pull(skb, thlen)) 80 __skb_pull(skb, thlen); 114 delta = (__force __wsum)htonl(oldlen + thlen + mss); 188 unsigned int thlen; local 202 thlen = th->doff * 4; 203 if (thlen < sizeof(*th)) 206 hlen = off + thlen; [all...] |
H A D | icmp.c | 1336 int thlen, int off) 1341 hlen = -skb_transport_offset(skb) - thlen; 1334 ip_icmp_error_rfc4884(const struct sk_buff *skb, struct sock_ee_data_rfc4884 *out, int thlen, int off) argument
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_tcp_check_syncookie_kern.c | 30 __u32 thlen = tcph->doff * 4; local 34 if (thlen != 24) 37 if ((void *)tcph + thlen > data_end) 40 return bpf_tcp_gen_syncookie(sk, iph, ip_size, tcph, thlen);
|
Completed in 269 milliseconds