Searched refs:tcphdr (Results 1 - 25 of 83) sorted by relevance

1234

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/netfilter/
H A Dxt_TCPOPTSTRIP.c37 struct tcphdr *tcph;
44 tcph = (struct tcphdr *)(skb_network_header(skb) + tcphoff);
51 for (i = sizeof(struct tcphdr); i < tcp_hdrlen(skb); i += optl) {
80 sizeof(struct iphdr) + sizeof(struct tcphdr));
97 sizeof(*ipv6h) + sizeof(struct tcphdr));
H A Dxt_TCPMSS.c52 struct tcphdr *tcph;
62 tcph = (struct tcphdr *)(skb_network_header(skb) + tcphoff);
86 for (i = sizeof(struct tcphdr); i < tcph->doff*4; i += optlen(opt, i)) {
124 tcph = (struct tcphdr *)(skb_network_header(skb) + tcphoff);
129 opt = (u_int8_t *)tcph + sizeof(struct tcphdr);
130 memmove(opt + TCPOLEN_MSS, opt, tcplen - sizeof(struct tcphdr));
184 sizeof(*iph) + sizeof(struct tcphdr));
212 sizeof(*ipv6h) + sizeof(struct tcphdr));
H A Dxt_tcpmss.c31 const struct tcphdr *th;
32 struct tcphdr _tcph;
H A Dxt_osf.c201 const struct tcphdr *tcp;
202 struct tcphdr _tcph;
215 tcp = skb_header_pointer(skb, ip_hdrlen(skb), sizeof(struct tcphdr), &_tcph);
226 if (tcp->doff * 4 > sizeof(struct tcphdr)) {
227 optsize = tcp->doff * 4 - sizeof(struct tcphdr);
230 sizeof(struct tcphdr), optsize, opts);
H A Dxt_tcpudp.c40 u_int8_t _opt[60 - sizeof(struct tcphdr)];
49 op = skb_header_pointer(skb, protoff + sizeof(struct tcphdr),
67 const struct tcphdr *th;
68 struct tcphdr _tcph;
H A Dnf_conntrack_proto_tcp.c282 const struct tcphdr *hp;
283 struct tcphdr _hdr;
325 static unsigned int get_conntrack_index(const struct tcphdr *tcph)
366 const struct tcphdr *tcph)
382 const struct tcphdr *tcph,
385 unsigned char buff[(15 * 4) - sizeof(struct tcphdr)];
387 int length = (tcph->doff*4) - sizeof(struct tcphdr);
392 ptr = skb_header_pointer(skb, dataoff + sizeof(struct tcphdr),
437 const struct tcphdr *tcph, __u32 *sack)
439 unsigned char buff[(15 * 4) - sizeof(struct tcphdr)];
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv4/netfilter/
H A Dnf_nat_proto_tcp.c39 struct tcphdr *hdr;
48 if (skb->len >= hdroff + sizeof(struct tcphdr))
49 hdrsize = sizeof(struct tcphdr);
55 hdr = (struct tcphdr *)(skb->data + hdroff);
H A Dipt_REJECT.c41 const struct tcphdr *oth;
42 struct tcphdr _otcph, *tcph;
63 nskb = alloc_skb(sizeof(struct iphdr) + sizeof(struct tcphdr) +
82 tcph = (struct tcphdr *)skb_put(nskb, sizeof(struct tcphdr));
86 tcph->doff = sizeof(struct tcphdr) / 4;
98 tcph->check = ~tcp_v4_check(sizeof(struct tcphdr), niph->saddr,
102 nskb->csum_offset = offsetof(struct tcphdr, check);
H A Dipt_ecn.c35 struct tcphdr _tcph;
36 const struct tcphdr *th;
H A Dnf_nat_helper.c166 struct tcphdr *tcph;
194 skb->csum_offset = offsetof(struct tcphdr, check);
290 struct tcphdr *tcph,
333 struct tcphdr *tcph,
340 optoff = ip_hdrlen(skb) + sizeof(struct tcphdr);
381 struct tcphdr *tcph;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv6/netfilter/
H A Dip6t_REJECT.c43 struct tcphdr otcph, *tcph;
69 if (proto != IPPROTO_TCP || otcplen < sizeof(struct tcphdr)) {
76 if (skb_copy_bits(oldskb, tcphoff, &otcph, sizeof(struct tcphdr)))
109 + sizeof(struct tcphdr) + dst->trailer_len,
132 tcph = (struct tcphdr *)skb_put(nskb, sizeof(struct tcphdr));
134 tcph->doff = sizeof(struct tcphdr)/4;
160 sizeof(struct tcphdr), IPPROTO_TCP,
162 sizeof(struct tcphdr), 0));
H A Dip6t_LOG.c204 struct tcphdr _tcph;
205 const struct tcphdr *th;
252 th->doff * 4 > sizeof(struct tcphdr)) {
253 u_int8_t _opt[60 - sizeof(struct tcphdr)];
257 - sizeof(struct tcphdr);
260 ptr + sizeof(struct tcphdr),
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dinet_lro.h52 struct tcphdr *tcph;
182 struct iphdr *iph, struct tcphdr *tcph);
H A Dtcp.h24 struct tcphdr { struct
65 struct tcphdr hdr;
213 static inline struct tcphdr *tcp_hdr(const struct sk_buff *skb)
215 return (struct tcphdr *)skb_transport_header(skb);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv4/
H A Dinet_lro.c54 static int lro_tcp_ip_check(struct iphdr *iph, struct tcphdr *tcph,
105 struct tcphdr *tcph = lro_desc->tcph;
131 static __wsum lro_tcp_data_csum(struct iphdr *iph, struct tcphdr *tcph, int len)
149 struct iphdr *iph, struct tcphdr *tcph,
190 struct tcphdr *tcph, int tcp_data_len)
219 struct iphdr *iph, struct tcphdr *tcph)
240 struct iphdr *iph, struct tcphdr *tcph)
263 struct tcphdr *tcph)
276 struct tcphdr *tcph)
338 struct tcphdr *tcp
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iproute2/include/linux/
H A Dtcp.h23 struct tcphdr { struct
80 struct tcphdr hdr;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ppp-2.4.4/modules/
H A Dvjcompress.c181 register struct tcphdr *oth;
182 register struct tcphdr *th;
197 th = (struct tcphdr *)&((int *)ip)[hlen];
275 oth = (struct tcphdr *)&((int *)&cs->cs_ip)[hlen];
449 || hlen + sizeof(struct tcphdr) > buflen
450 || (hlen += getth_off(*((struct tcphdr *)&((char *)ip)[hlen])) << 2)
484 register struct tcphdr *th;
512 th = (struct tcphdr *)&((u_char *)&cs->cs_ip)[hlen];
/netgear-R7000-V1.0.7.12_1.2.5/src/router/ppp/modules/
H A Dvjcompress.c177 register struct tcphdr *oth;
178 register struct tcphdr *th;
193 th = (struct tcphdr *)&((int *)ip)[hlen];
271 oth = (struct tcphdr *)&((int *)&cs->cs_ip)[hlen];
445 || hlen + sizeof(struct tcphdr) > buflen
446 || (hlen += getth_off(*((struct tcphdr *)&((char *)ip)[hlen])) << 2)
480 register struct tcphdr *th;
508 th = (struct tcphdr *)&((u_char *)&cs->cs_ip)[hlen];
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iptables-1.4.12.1/include/linux/netfilter/
H A Dxt_osf.h85 struct tcphdr tcp;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/tcpdump-4.4.0/
H A Dtcp.h42 struct tcphdr { struct
H A Dprint-sl.c146 hlen += TH_OFF((struct tcphdr *)&((int *)ip)[hlen]);
236 hlen += TH_OFF((struct tcphdr *)&((int32_t *)ip)[hlen]);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/netfilter/
H A Dxt_osf.h85 struct tcphdr tcp;
/netgear-R7000-V1.0.7.12_1.2.5/src/router/iptables-1.4.12/src/include/linux/netfilter/
H A Dxt_osf.h85 struct tcphdr tcp;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/netfilter/ipvs/
H A Dip_vs_app.c257 static inline void vs_fix_seq(const struct ip_vs_seq *vseq, struct tcphdr *th)
284 vs_fix_ack_seq(const struct ip_vs_seq *vseq, struct tcphdr *th)
334 struct tcphdr *th;
340 th = (struct tcphdr *)(skb_network_header(skb) + tcp_offset);
409 struct tcphdr *th;
415 th = (struct tcphdr *)(skb_network_header(skb) + tcp_offset);
H A Dip_vs_proto_tcp.c21 #include <linux/tcp.h> /* for tcphdr */
35 struct tcphdr _tcph, *th;
75 tcp_fast_csum_update(int af, struct tcphdr *tcph,
96 tcp_partial_csum_update(int af, struct tcphdr *tcph,
120 struct tcphdr *tcph;
190 struct tcphdr *tcph;
435 static inline int tcp_state_idx(struct tcphdr *th)
450 int direction, struct tcphdr *th)
522 struct tcphdr _tcph, *th;

Completed in 246 milliseconds

1234