projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
icmp and ctlinput working -- missing protocol specific ctlinput's
[unix-history]
/
usr
/
src
/
sys
/
netinet
/
tcp_subr.c
diff --git
a/usr/src/sys/netinet/tcp_subr.c
b/usr/src/sys/netinet/tcp_subr.c
index
d6180ba
..
fa50e84
100644
(file)
--- a/
usr/src/sys/netinet/tcp_subr.c
+++ b/
usr/src/sys/netinet/tcp_subr.c
@@
-1,4
+1,4
@@
-/* tcp_subr.c 4.2
3 82/04/0
4 */
+/* tcp_subr.c 4.2
4 82/04/2
4 */
#include "../h/param.h"
#include "../h/systm.h"
#include "../h/param.h"
#include "../h/systm.h"
@@
-192,6
+192,12
@@
COUNT(TCP_DROP);
tcp_close(tp);
}
tcp_close(tp);
}
+tcp_abort(inp)
+ struct inpcb *inp;
+{
+ tcp_close(inp->inp_ppcb);
+}
+
/*
* Close a TCP control block:
* discard all space held by the tcp
/*
* Close a TCP control block:
* discard all space held by the tcp
@@
-227,10
+233,9
@@
tcp_drain()
COUNT(TCP_DRAIN);
}
COUNT(TCP_DRAIN);
}
-tcp_ctlinput(m)
- struct mbuf *m;
+tcp_ctlinput(cmd, arg)
+ int cmd;
+ caddr_t arg;
{
{
-
COUNT(TCP_CTLINPUT);
COUNT(TCP_CTLINPUT);
- m_freem(m);
}
}