Searched refs:tcphdr (Results 26 - 50 of 132) sorted by relevance

123456

/freebsd-12-stable/sys/contrib/octeon-sdk/
H A Dcvmip.h121 cvmip_tcp_hdr_t tcphdr; member in union:__anon11072
/freebsd-12-stable/sys/dev/sfxge/
H A Dsfxge_rx.h93 struct tcphdr *th_last;
H A Dsfxge_rx.c379 struct tcphdr *c_th;
392 c_th = (struct tcphdr *)(iph + 1);
398 c_th = (struct tcphdr *)(iph + 1);
467 struct mbuf *mbuf, struct tcphdr *th)
469 struct tcphdr *c_th;
483 c_th = (struct tcphdr *)(iph + 1);
487 c_th = (struct tcphdr *)(iph + 1);
502 struct mbuf *mbuf, void *nh, struct tcphdr *th)
533 struct tcphdr *th;
538 th = (struct tcphdr *)(ip
[all...]
/freebsd-12-stable/sys/netinet/libalias/
H A Dalias_local.h364 tcp_next(struct tcphdr *tcphdr) argument
366 char *p = (char *)tcphdr;
367 return (&p[tcphdr->th_off * 4]);
H A Dalias.c339 struct tcphdr *tc;
347 tc = (struct tcphdr *)ip_next(ip);
528 struct tcphdr *tc;
536 tc = (struct tcphdr *)ip_next(ip);
930 struct tcphdr *tc;
937 if (dlen < sizeof(struct tcphdr))
939 tc = (struct tcphdr *)ip_next(pip);
1021 tc = (struct tcphdr *)ip_next(pip);
1046 tc = (struct tcphdr *)ip_next(pip);
1063 struct tcphdr *t
[all...]
H A Dalias_irc.c176 struct tcphdr *tc;
180 tc = (struct tcphdr *)ip_next(pip);
440 tc = (struct tcphdr *)ip_next(pip);
H A Dalias_proxy.c293 struct tcphdr *tc;
297 tc = (struct tcphdr *)ip_next(pip);
349 tc = (struct tcphdr *)ip_next(pip);
399 struct tcphdr *tc;
410 tc = (struct tcphdr *)ip_next(pip);
/freebsd-12-stable/sys/netipsec/
H A Dxform_tcp.c173 tcp_signature_compute(struct mbuf *m, struct tcphdr *th,
202 MD5Update(&ctx, (char *)th, sizeof(struct tcphdr));
257 tcp_ipsec_input(struct mbuf *m, struct tcphdr *th, u_char *buf)
298 tcp_ipsec_output(struct mbuf *m, struct tcphdr *th, u_char *buf)
/freebsd-12-stable/tools/tools/netmap/
H A Dpkt_hash.c44 /* tcphdr */
159 const struct tcphdr *tcph = NULL;
164 tcph = (const struct tcphdr *)((const uint8_t *)iph + (iph->ip_hl<<2));
230 const struct tcphdr *tcph = NULL;
235 tcph = (const struct tcphdr *)(ipv6h + 1);
/freebsd-12-stable/cddl/lib/libdtrace/
H A Dtcp.d182 struct tcphdr *tcp_hdr; /* raw TCP header */
201 struct tcphdr *tcp_hdr; /* raw TCP header */
263 translator tcpinfo_t < struct tcphdr *p > {
273 tcp_hdr = (struct tcphdr *)p;
282 translator tcpinfoh_t < struct tcphdr *p > {
292 tcp_hdr = (struct tcphdr *)p;
/freebsd-12-stable/sys/netinet/
H A Din_rss.c174 const struct tcphdr *th;
282 if (m->m_len < iphlen + sizeof(struct tcphdr)) {
286 th = (const struct tcphdr *)((c_caddr_t)ip + iphlen);
H A Dtcp_log_buf.h163 struct tcphdr tlb_th; /* The TCP header */
305 * TCP_LOG_EVENT(struct tcpcb *tp, struct tcphdr *th, struct sockbuf *rxbuf,
347 struct tcp_log_buffer *tcp_log_event_(struct tcpcb *tp, struct tcphdr *th, struct sockbuf *rxbuf,
364 tcp_log_event_(struct tcpcb *tp, struct tcphdr *th, struct sockbuf *rxbuf,
H A Dtcp_lro.c197 tcp_lro_csum_th(struct tcphdr *th)
219 tcp_lro_rx_csum_fixup(struct lro_entry *le, void *l3hdr, struct tcphdr *th,
315 struct tcphdr *th;
327 th = (struct tcphdr *)(ip6 + 1);
358 th = (struct tcphdr *)(ip4 + 1);
543 struct tcphdr **th)
553 *th = (struct tcphdr *)(ip6 + 1);
562 struct tcphdr **th)
594 *th = (struct tcphdr *)(ip4 + 1);
611 struct tcphdr *t
[all...]
H A Dtcp_subr.c256 static char * tcp_log_addr(struct in_conninfo *inc, struct tcphdr *th,
1129 #define TCP_MINPROTOHDR (sizeof(struct ip6_hdr) + sizeof(struct tcphdr))
1217 struct tcphdr *th = (struct tcphdr *)tcp_ptr;
1231 ip6->ip6_plen = htons(sizeof(struct tcphdr));
1301 tcp_respond(struct tcpcb *tp, void *ipgen, struct tcphdr *th, struct mbuf *m,
1308 struct tcphdr *nth;
1353 nth = (struct tcphdr *)(ip6 + 1);
1359 nth = (struct tcphdr *)(ip + 1);
1361 bcopy((caddr_t)th, (caddr_t)nth, sizeof(struct tcphdr));
[all...]
H A Dtcp_pcap.c159 tcp_pcap_copy_bestfit(struct tcphdr *th, struct mbuf *m, struct mbuf *n)
264 tcp_pcap_add(struct tcphdr *th, struct mbuf *m, struct mbufq *queue)
H A Dtcp_syncache.c146 struct syncache *, struct tcphdr *, struct tcpopt *,
151 struct syncache *sc, struct tcphdr *th, struct tcpopt *to,
552 syncache_chkrst(struct in_conninfo *inc, struct tcphdr *th, struct mbuf *m)
1003 syncache_expand(struct in_conninfo *inc, struct tcpopt *to, struct tcphdr *th,
1307 syncache_add(struct in_conninfo *inc, struct tcpopt *to, struct tcphdr *th,
1708 struct tcphdr *th = NULL;
1720 tlen = hlen + sizeof(struct tcphdr);
1755 th = (struct tcphdr *)(ip6 + 1);
1786 th = (struct tcphdr *)(ip + 1);
1797 th->th_off = sizeof(struct tcphdr) >>
[all...]
H A Dtoecore.c338 toe_syncache_add(struct in_conninfo *inc, struct tcpopt *to, struct tcphdr *th,
350 struct tcphdr *th, struct socket **lsop)
367 toe_4tuple_check(struct in_conninfo *inc, struct tcphdr *th, struct ifnet *ifp)
/freebsd-12-stable/sys/netinet6/
H A Din6_rss.c176 const struct tcphdr *th;
304 if (m->m_len < off + sizeof(struct tcphdr)) {
308 th = (const struct tcphdr *)((c_caddr_t)ip6 + off);
/freebsd-12-stable/sys/netgraph/
H A Dng_checksum.c356 struct tcphdr *th;
358 PULLUP_CHECK(m, sizeof(struct tcphdr));
359 th = (struct tcphdr *) mtodo(m, l3_offset + hlen);
482 struct tcphdr *th;
484 PULLUP_CHECK(m, sizeof(struct tcphdr));
485 th = (struct tcphdr *) mtodo(m, l3_offset + hlen);
/freebsd-12-stable/contrib/ipfilter/lib/
H A Dprintpacket.c74 tcp = (struct tcphdr *)((char *)ip + (IP_HL(ip) << 2));
/freebsd-12-stable/sys/netpfil/ipfw/
H A Dip_fw_log.c79 #define TCP(p) ((struct tcphdr *)(p))
295 struct tcphdr *tcp;
316 tcp = (struct tcphdr *)(((char *)ip) + hlen);
321 tcp = L3HDR(struct tcphdr, ip);
H A Dip_fw2.c250 #define TCP(p) ((struct tcphdr *)(p))
350 tcpopts_parse(const struct tcphdr *tcp, uint16_t *mss)
354 int cnt = (tcp->th_off << 2) - sizeof(struct tcphdr);
407 tcpopts_match(struct tcphdr *tcp, ipfw_insn *cmd)
633 struct tcphdr *th = NULL;
652 len = sizeof(struct ip) + sizeof(struct tcphdr);
656 len = sizeof(struct ip6_hdr) + sizeof(struct tcphdr);
678 h->ip_len = htons(sizeof(struct tcphdr));
687 th = (struct tcphdr *)(h + 1);
695 h6->ip6_plen = htons(sizeof(struct tcphdr));
[all...]
/freebsd-12-stable/contrib/tcpdump/
H A Dprint-tcp.c59 const struct ip *ip, const struct tcphdr *tp,
142 register const struct tcphdr *tp,
152 register const struct tcphdr *tp,
164 register const struct tcphdr *tp;
176 tp = (const struct tcphdr *)bp;
841 const struct ip *ip, const struct tcphdr *tp,
844 struct tcphdr tp1;
900 MD5_Update(&ctx, (const char *)&tp1, sizeof(struct tcphdr));
/freebsd-12-stable/sys/netpfil/pf/
H A Dpf_osfp.c56 const struct tcphdr *);
73 const struct tcphdr *tcp)
93 return (pf_osfp_fingerprint_hdr(ip, ip6, (struct tcphdr *)hdr));
97 pf_osfp_fingerprint_hdr(const struct ip *ip, const struct ip6_hdr *ip6, const struct tcphdr *tcp)
404 #define MTUOFF (sizeof(struct ip) + sizeof(struct tcphdr))
/freebsd-12-stable/usr.sbin/trpt/
H A Dtrpt.c99 static void tcp_trace(short, short, struct tcpcb *, int, void *, struct tcphdr *, int);
308 void *ip, struct tcphdr *th, int req)
383 len -= sizeof(struct tcphdr);

Completed in 221 milliseconds

123456