summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2014-09-04 17:05:57 +0000
committerglebius <glebius@FreeBSD.org>2014-09-04 17:05:57 +0000
commit9e0133cbe00adb83d3928a3d5b600a1e37a56e95 (patch)
treefb3699ad795709a6ef3ff214adba5044136e7927
parent588ebd48d9f767e87f34fab48f55c14ec4fcee45 (diff)
downloadFreeBSD-src-9e0133cbe00adb83d3928a3d5b600a1e37a56e95.zip
FreeBSD-src-9e0133cbe00adb83d3928a3d5b600a1e37a56e95.tar.gz
Fixes for tcp_respond() comment.
-rw-r--r--sys/netinet/tcp_subr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index ac0aad3..b8b08cf 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -539,16 +539,16 @@ tcpip_maketemplate(struct inpcb *inp)
/*
* Send a single message to the TCP at address specified by
* the given TCP/IP header. If m == NULL, then we make a copy
- * of the tcpiphdr at ti and send directly to the addressed host.
+ * of the tcpiphdr at th and send directly to the addressed host.
* This is used to force keep alive messages out using the TCP
* template for a connection. If flags are given then we send
- * a message back to the TCP which originated the * segment ti,
+ * a message back to the TCP which originated the segment th,
* and discard the mbuf containing it and any other attached mbufs.
*
* In any case the ack and sequence number of the transmitted
* segment are as specified by the parameters.
*
- * NOTE: If m != NULL, then ti must point to *inside* the mbuf.
+ * NOTE: If m != NULL, then th must point to *inside* the mbuf.
*/
void
tcp_respond(struct tcpcb *tp, void *ipgen, struct tcphdr *th, struct mbuf *m,
OpenPOWER on IntegriCloud