Searched refs:tcphoff (Results 1 - 4 of 4) sorted by relevance

/linux-master/net/netfilter/
H A Dxt_TCPOPTSTRIP.c31 unsigned int tcphoff)
44 tcph = skb_header_pointer(skb, tcphoff, sizeof(_th), &_th);
52 if (skb_ensure_writable(skb, tcphoff + tcp_hdrlen))
56 tcph = (struct tcphdr *)(skb_network_header(skb) + tcphoff);
99 int tcphoff; local
104 tcphoff = ipv6_skip_exthdr(skb, sizeof(*ipv6h), &nexthdr, &frag_off);
105 if (tcphoff < 0)
108 return tcpoptstrip_mangle_packet(skb, par, tcphoff);
29 tcpoptstrip_mangle_packet(struct sk_buff *skb, const struct xt_action_param *par, unsigned int tcphoff) argument
H A Dxt_TCPMSS.c74 unsigned int tcphoff,
92 len = skb->len - tcphoff;
96 tcph = (struct tcphdr *)(skb_network_header(skb) + tcphoff);
159 tcph = (struct tcphdr *)(skb_network_header(skb) + tcphoff);
224 int tcphoff; local
228 tcphoff = ipv6_skip_exthdr(skb, sizeof(*ipv6h), &nexthdr, &frag_off);
229 if (tcphoff < 0)
233 tcphoff,
71 tcpmss_mangle_packet(struct sk_buff *skb, const struct xt_action_param *par, unsigned int family, unsigned int tcphoff, unsigned int minlen) argument
/linux-master/net/netfilter/ipvs/
H A Dip_vs_proto_tcp.c151 unsigned int tcphoff = iph->len; local
159 oldlen = skb->len - tcphoff;
162 if (skb_ensure_writable(skb, tcphoff + sizeof(*tcph)))
177 oldlen = skb->len - tcphoff;
182 tcph = (void *)skb_network_header(skb) + tcphoff;
189 htons(skb->len - tcphoff));
200 skb->csum = skb_checksum(skb, tcphoff, skb->len - tcphoff, 0);
205 skb->len - tcphoff,
211 skb->len - tcphoff,
229 unsigned int tcphoff = iph->len; local
306 unsigned int tcphoff; local
[all...]
/linux-master/net/ipv6/netfilter/
H A Dnf_reject_ipv6.c156 int tcphoff; local
159 tcphoff = ipv6_skip_exthdr(oldskb, ((u8 *)(oip6h + 1) - oldskb->data),
162 if ((tcphoff < 0) || (tcphoff > oldskb->len)) {
167 *otcplen = oldskb->len - tcphoff;
176 otcph = skb_header_pointer(oldskb, tcphoff, sizeof(struct tcphdr),
188 if (nf_ip6_checksum(oldskb, hook, tcphoff, IPPROTO_TCP)) {

Completed in 320 milliseconds