Searched refs:tcphoff (Results 1 – 3 of 3) sorted by relevance
| /linux/net/netfilter/ |
| H A D | xt_TCPOPTSTRIP.c | 31 unsigned int tcphoff) in tcpoptstrip_mangle_packet() argument 44 tcph = skb_header_pointer(skb, tcphoff, sizeof(_th), &_th); in tcpoptstrip_mangle_packet() 52 if (skb_ensure_writable(skb, tcphoff + tcp_hdrlen)) in tcpoptstrip_mangle_packet() 56 tcph = (struct tcphdr *)(skb_network_header(skb) + tcphoff); in tcpoptstrip_mangle_packet() 99 int tcphoff; in tcpoptstrip_tg6() local 104 tcphoff = ipv6_skip_exthdr(skb, sizeof(*ipv6h), &nexthdr, &frag_off); in tcpoptstrip_tg6() 105 if (tcphoff < 0) in tcpoptstrip_tg6() 108 return tcpoptstrip_mangle_packet(skb, par, tcphoff); in tcpoptstrip_tg6()
|
| H A D | xt_TCPMSS.c | 74 unsigned int tcphoff, in tcpmss_mangle_packet() argument 92 len = skb->len - tcphoff; in tcpmss_mangle_packet() 96 tcph = (struct tcphdr *)(skb_network_header(skb) + tcphoff); in tcpmss_mangle_packet() 159 tcph = (struct tcphdr *)(skb_network_header(skb) + tcphoff); in tcpmss_mangle_packet() 224 int tcphoff; in tcpmss_tg6() local 228 tcphoff = ipv6_skip_exthdr(skb, sizeof(*ipv6h), &nexthdr, &frag_off); in tcpmss_tg6() 229 if (tcphoff < 0) in tcpmss_tg6() 233 tcphoff, in tcpmss_tg6()
|
| /linux/net/netfilter/ipvs/ |
| H A D | ip_vs_proto_tcp.c | 150 unsigned int tcphoff = iph->len; in tcp_snat_handler() 158 oldlen = skb->len - tcphoff; in tcp_snat_handler() 161 if (skb_ensure_writable(skb, tcphoff + sizeof(*tcph))) in tcp_snat_handler() 176 oldlen = skb->len - tcphoff; in tcp_snat_handler() 181 tcph = (void *)skb_network_header(skb) + tcphoff; in tcp_snat_handler() 188 htons(skb->len - tcphoff)); in tcp_snat_handler() 199 skb->csum = skb_checksum(skb, tcphoff, skb->len - tcphoff, 0); in tcp_snat_handler() 204 skb->len - tcphoff, in tcp_snat_handler() 210 skb->len - tcphoff, in tcp_snat_handler() 151 unsigned int tcphoff = iph->len; tcp_snat_handler() local 229 unsigned int tcphoff = iph->len; tcp_dnat_handler() local 306 unsigned int tcphoff; tcp_csum_check() local [all...] |