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

/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dtcpip.h73 struct tcphdr ti_t; /* tcp header */
81 struct tcphdr ti_t; /* tcp header */
H A Dtcp_debug.h86 struct tcphdr th;
H A Dtcp.h75 #define tcp6hdr tcphdr /* for KAME src sync over BSD*'s */
81 struct tcphdr { struct
191 #define TCP_MAXOLEN (TCP_MAXHLEN - sizeof(struct tcphdr))
H A Dtcp_subr.c331 #define TCP_MINPROTOHDR (sizeof(struct ip6_hdr) + sizeof(struct tcphdr))
389 struct tcphdr *tcp_hdr = (struct tcphdr *)tcp_ptr;
401 ip6->ip6_plen = sizeof(struct tcphdr);
421 htons(sizeof(struct tcphdr) + IPPROTO_TCP));
475 register struct tcphdr *th,
488 struct tcphdr *nth;
537 nth = (struct tcphdr *)(ip6 + 1);
543 nth = (struct tcphdr *)(ip + 1);
545 bcopy((caddr_t)th, (caddr_t)nth, sizeof(struct tcphdr));
[all...]
H A Dtcp_var.h95 struct tcphdr *tqe_th; /* a pointer to tcp header */
124 struct tcphdr tt_t;
700 struct tcphdr *, struct mbuf *, tcp_seq, tcp_seq, int,
710 void tcp_trace(int, int, struct tcpcb *, void *, struct tcphdr *, int);
717 void tcp_sack_partialack(struct tcpcb *, struct tcphdr *);
H A Dip_fw2.c427 struct tcphdr *tcp = L3HDR(struct tcphdr,ip);
429 int x = (tcp->th_off << 2) - sizeof(struct tcphdr);
659 struct tcphdr *const tcp = (struct tcphdr *)icmp;
874 struct tcphdr *tcp)
1241 struct tcphdr *tcp;
1248 m->m_pkthdr.len = m->m_len = sizeof(struct ip) + sizeof(struct tcphdr);
1253 tcp = (struct tcphdr *)(ip + 1); /* no IP options */
1301 ip->ip_len = htons(sizeof(struct tcphdr));
[all...]
H A Dtcp_debug.c114 struct tcphdr *th;
219 len -= sizeof (struct tcphdr);
H A Dtcp_output.c226 register struct tcphdr *th;
790 hdrlen = sizeof (struct ip6_hdr) + sizeof (struct tcphdr);
1040 panic("tcphdr too big");
1043 panic("tcphdr too big");
1208 th = (struct tcphdr *)(ip6 + 1);
1215 th = (struct tcphdr *)(ip + 1);
1260 th->th_off = (sizeof (struct tcphdr) + optlen) >> 2;
1318 sizeof(struct tcphdr) + optlen + len);
1323 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
H A Dtcp_input.c115 struct tcphdr tcp_savetcp;
213 u_char *, int, struct tcphdr *, struct tcpopt *, unsigned int);
215 struct tcphdr *, struct mbuf *, int);
216 static int tcp_reass(struct tcpcb *, struct tcphdr *, int *,
288 static void tcp_newreno_partial_ack(struct tcpcb *tp, struct tcphdr *th);
294 register struct tcphdr *th;
502 IP6_EXTHDR_CHECK(m, *offp, sizeof(struct tcphdr), return IPPROTO_DONE);
528 register struct tcphdr *th;
605 th = (struct tcphdr *)((caddr_t)ip6 + off0);
644 th = (struct tcphdr *)((caddr_
[all...]
H A Dtcp_timer.c470 (struct tcphdr *)0,
822 tcp_trace(TA_USER, ostate, tp, (void *)0, (struct tcphdr *)0,
H A Dtcp_sack.c523 struct tcphdr *th;
H A Dip_compat.h702 typedef struct tcphdr tcphdr_t;
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/
H A Dip6_fw.c191 static int tcp6flg_match __P((struct tcphdr *tcp6, struct ip6_fw *f));
228 tcp6flg_match(struct tcphdr *tcp6, struct ip6_fw *f)
414 struct tcphdr *const tcp6 = (struct tcphdr *) ((caddr_t) ip6+ off);
667 struct tcphdr *tcp6;
686 tcp6 = (struct tcphdr *) ((caddr_t)ip6 + off);
830 struct tcphdr *const tcp =
831 (struct tcphdr *) ((caddr_t)ip6 + off);
834 struct tcphdr th;
868 tcp_respond(NULL, ip6, (struct tcphdr *)(ip
[all...]
H A Dipsec.c1001 struct tcphdr th;
1032 if (off + sizeof(struct tcphdr) > m->m_pkthdr.len)
1109 struct tcphdr th;
1134 if (off + sizeof(struct tcphdr) > m->m_pkthdr.len)

Completed in 196 milliseconds