summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_var.h
diff options
context:
space:
mode:
authorjlemon <jlemon@FreeBSD.org>2003-02-19 22:18:06 +0000
committerjlemon <jlemon@FreeBSD.org>2003-02-19 22:18:06 +0000
commit79a1ebfa6f53d733dc4775c2031ff3d16e53b75c (patch)
tree8563c7bec384ef864223fce476020ed3fb16ccd9 /sys/netinet/tcp_var.h
parent6ececd4417e9635c5b55583283f2640c2fb05a6b (diff)
downloadFreeBSD-src-79a1ebfa6f53d733dc4775c2031ff3d16e53b75c.zip
FreeBSD-src-79a1ebfa6f53d733dc4775c2031ff3d16e53b75c.tar.gz
Convert tcp_fillheaders(tp, ...) -> tcpip_fillheaders(inp, ...) so the
routine does not require a tcpcb to operate. Since we no longer keep template mbufs around, move pseudo checksum out of this routine, and merge it with the length update. Sponsored by: DARPA, NAI Labs
Diffstat (limited to 'sys/netinet/tcp_var.h')
-rw-r--r--sys/netinet/tcp_var.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h
index 6461c34..137b042 100644
--- a/sys/netinet/tcp_var.h
+++ b/sys/netinet/tcp_var.h
@@ -476,8 +476,8 @@ struct rtentry *
void tcp_setpersist(struct tcpcb *);
void tcp_slowtimo(void);
struct tcptemp *
- tcp_maketemplate(struct tcpcb *);
-void tcp_fillheaders(struct tcpcb *, void *, void *);
+ tcpip_maketemplate(struct inpcb *);
+void tcpip_fillheaders(struct inpcb *, void *, void *);
struct tcpcb *
tcp_timers(struct tcpcb *, int);
void tcp_trace(int, int, struct tcpcb *, void *, struct tcphdr *, int);
OpenPOWER on IntegriCloud