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

12

/macosx-10.10.1/xnu-2782.1.97/bsd/netinet/
H A Dtcp_cc.h104 void (*congestion_avd) (struct tcpcb *tp, struct tcphdr *th);
107 void (*ack_rcvd) (struct tcpcb *tp, struct tcphdr *th);
113 void (*post_fr) (struct tcpcb *tp, struct tcphdr *th);
122 int (*delay_ack)(struct tcpcb *tp, struct tcphdr *th);
140 extern int tcp_cc_delay_ack(struct tcpcb *tp, struct tcphdr *th);
141 extern void tcp_ccdbg_trace(struct tcpcb *tp, struct tcphdr *th,
H A Dtcpip.h73 struct tcphdr ti_t; /* tcp header */
81 struct tcphdr ti_t; /* tcp header */
H A Dlro_ext.h53 int tcp_start_coalescing(struct ip *, struct tcphdr *, int tlen);
H A Dtcp_debug.h86 struct tcphdr th;
H A Dmptcp_opt.h44 extern int tcp_do_mptcp_options(struct tcpcb *, u_char *, struct tcphdr *,
H A Dtcp_lro.h40 struct tcphdr *lr_tcphdr; /* ptr to TCP hdr in frame */
H A Dtcp_newreno.c89 void tcp_newreno_congestion_avd(struct tcpcb *tp, struct tcphdr *th);
90 void tcp_newreno_ack_rcvd(struct tcpcb *tp, struct tcphdr *th);
92 void tcp_newreno_post_fr(struct tcpcb *tp, struct tcphdr *th);
95 int tcp_newreno_delay_ack(struct tcpcb *tp, struct tcphdr *th);
147 tcp_newreno_congestion_avd(struct tcpcb *tp, struct tcphdr *th) {
165 tcp_newreno_ack_rcvd(struct tcpcb *tp, struct tcphdr *th) {
239 tcp_newreno_post_fr(struct tcpcb *tp, struct tcphdr *th) {
324 tcp_newreno_delay_ack(struct tcpcb *tp, struct tcphdr *th) {
H A Dtcp_ledbat.c61 void tcp_ledbat_congestion_avd(struct tcpcb *tp, struct tcphdr *th);
62 void tcp_ledbat_ack_rcvd(struct tcpcb *tp, struct tcphdr *th);
64 void tcp_ledbat_post_fr(struct tcpcb *tp, struct tcphdr *th);
67 int tcp_ledbat_delay_ack(struct tcpcb *tp, struct tcphdr *th);
223 tcp_ledbat_congestion_avd(struct tcpcb *tp, struct tcphdr *th) {
241 tcp_ledbat_ack_rcvd(struct tcpcb *tp, struct tcphdr *th) {
304 tcp_ledbat_post_fr(struct tcpcb *tp, struct tcphdr *th) {
404 tcp_ledbat_delay_ack(struct tcpcb *tp, struct tcphdr *th) {
H A Dtcp_cubic.c59 static void tcp_cubic_congestion_avd(struct tcpcb *tp, struct tcphdr *th);
60 static void tcp_cubic_ack_rcvd(struct tcpcb *tp, struct tcphdr *th);
62 static void tcp_cubic_post_fr(struct tcpcb *tp, struct tcphdr *th);
64 static int tcp_cubic_delay_ack(struct tcpcb *tp, struct tcphdr *th);
67 static uint32_t tcp_cubic_tcpwin(struct tcpcb *tp, struct tcphdr *th);
248 tcp_cubic_tcpwin(struct tcpcb *tp, struct tcphdr *th)
270 tcp_cubic_congestion_avd(struct tcpcb *tp, struct tcphdr *th)
319 tcp_cubic_ack_rcvd(struct tcpcb *tp, struct tcphdr *th)
422 tcp_cubic_post_fr(struct tcpcb *tp, struct tcphdr *th)
464 tcp_cubic_delay_ack(struct tcpcb *tp, struct tcphdr *t
[all...]
H A Dtcp_lro.c97 struct tcphdr*);
98 static struct mbuf *tcp_lro_process_pkt(struct mbuf*, struct ip*, struct tcphdr*,
128 tcp_lro_matching_tuple(struct ip* ip_hdr, struct tcphdr *tcp_hdr, int *hash,
203 tcp_lro_init_flow(int flow_id, struct ip* ip_hdr, struct tcphdr *tcp_hdr,
223 tcp_lro_coalesce(int flow_id, struct mbuf *lro_mb, struct tcphdr *tcphdr, argument
291 flow->lr_tcphdr->th_win = tcphdr->th_win;
296 flow->lr_tcphdr = tcphdr;
308 flow->lr_seq = ntohl(tcphdr->th_seq) + payload_len;
342 struct tcphdr *tcp_hd
[all...]
H A Dtcp.h75 #define tcp6hdr tcphdr /* for KAME src sync over BSD*'s */
81 struct tcphdr { struct
190 #define TCP_MAXOLEN (TCP_MAXHLEN - sizeof(struct tcphdr))
H A Dtcp_subr.c456 #define TCP_MINPROTOHDR (sizeof(struct ip6_hdr) + sizeof(struct tcphdr))
519 struct tcphdr *tcp_hdr = (struct tcphdr *)tcp_ptr;
531 ip6->ip6_plen = sizeof(struct tcphdr);
535 htonl(sizeof (struct tcphdr) + IPPROTO_TCP));
552 htons(sizeof(struct tcphdr) + IPPROTO_TCP));
603 tcp_respond(struct tcpcb *tp, void *ipgen, struct tcphdr *th, struct mbuf *m,
611 struct tcphdr *nth;
663 nth = (struct tcphdr *)(void *)(ip6 + 1);
671 nth = (struct tcphdr *)(voi
[all...]
H A Dtcp_cc.c195 tcp_ccdbg_trace(struct tcpcb *tp, struct tcphdr *th, int32_t event)
255 struct tcpcb *, tp, struct tcphdr *, th, int32_t, event);
335 tcp_cc_delay_ack(struct tcpcb *tp, struct tcphdr *th)
H A Dtcp_input.c124 struct tcphdr tcp_savetcp;
281 static void tcp_dooptions(struct tcpcb *, u_char *, int, struct tcphdr *,
284 struct tcphdr *, struct mbuf *, int);
285 static int tcp_reass(struct tcpcb *, struct tcphdr *, int *, struct mbuf *,
311 static void tcp_bad_rexmt_restore_state(struct tcpcb *tp, struct tcphdr *th);
313 struct tcphdr *th);
314 static void tcp_early_rexmt_check(struct tcpcb *tp, struct tcphdr *th);
315 static void tcp_bad_rexmt_check(struct tcpcb *tp, struct tcphdr *th,
359 static void tcp_newreno_partial_ack(struct tcpcb *tp, struct tcphdr *th);
556 tcp_reass(struct tcpcb *tp, struct tcphdr *t
[all...]
H A Dtcp_debug.c114 struct tcphdr *th;
219 len -= sizeof (struct tcphdr);
/macosx-10.10.1/network_cmds-457/alias/
H A Dalias_pptp.c176 struct tcphdr *tc;
210 tc = (struct tcphdr *) ((char *) pip + (pip->ip_hl << 2));
239 struct tcphdr *tc;
280 tc = (struct tcphdr *) ((char *) pip + (pip->ip_hl << 2));
301 struct tcphdr *tc;
304 tc = (struct tcphdr *) ((char *) pip + (pip->ip_hl << 2));
H A Dalias_smedia.c175 struct tcphdr *tc;
187 tc = (struct tcphdr *) ((char *) pip + (pip->ip_hl << 2));
399 struct tcphdr *tc;
421 tc = (struct tcphdr *) ((char *) pip + (pip->ip_hl << 2));
440 struct tcphdr *tc;
447 tc = (struct tcphdr *)((char *)pip + (pip->ip_hl << 2));
H A Dalias_util.c117 struct tcphdr *tc;
124 tc = (struct tcphdr *) ((char *) pip + nhdr);
H A Dalias_ftp.c139 struct tcphdr *tc;
143 tc = (struct tcphdr *) ((char *) pip + (pip->ip_hl << 2));
503 struct tcphdr *tc;
514 tc = (struct tcphdr *) ((char *) pip + (pip->ip_hl << 2));
H A Dalias.c189 static void DoMSSClamp(struct tcphdr *tc)
251 struct tcphdr *tc;
253 tc = (struct tcphdr *) ((char *) pip + (pip->ip_hl << 2));
278 struct tcphdr *tc;
280 tc = (struct tcphdr *) ((char *) pip + (pip->ip_hl << 2));
421 struct tcphdr *tc;
428 tc = (struct tcphdr *) ud;
615 struct tcphdr *tc;
622 tc = (struct tcphdr *) ud;
978 struct tcphdr *t
[all...]
H A Dalias_irc.c98 struct tcphdr *tc;
102 tc = (struct tcphdr *) ((char *) pip + (pip->ip_hl << 2));
/macosx-10.10.1/ppp-786.1.1/Family/
H A Dslcompress.c185 register struct tcphdr *oth;
186 register struct tcphdr *th;
201 th = (struct tcphdr *)&((int32_t *)ip)[hlen];
280 oth = (struct tcphdr *)&((int32_t *)&cs->cs_ip)[hlen];
502 register struct tcphdr *th;
522 if (hlen + sizeof(struct tcphdr) > buflen)
524 hlen += ((struct tcphdr *)(void*)&((char *)ip)[hlen])->th_off << 2; // Wcast-align fix (void*) - used for access to 4 bits
563 th = ALIGNED_CAST(struct tcphdr *)&((u_char *)&cs->cs_ip)[hlen];
/macosx-10.10.1/tcpdump-61/tcpdump/
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]);
/macosx-10.10.1/xnu-2782.1.97/bsd/dev/dtrace/scripts/
H A Dtcp.d126 struct tcphdr *tcp_hdr; /* raw TCP header */
130 translator tcpinfo_t < struct tcphdr *T > {

Completed in 521 milliseconds

12