icmp and ctlinput working -- missing protocol specific ctlinput's
[unix-history] / usr / src / sys / netinet / tcp_subr.c
index d6180ba..fa50e84 100644 (file)
@@ -1,4 +1,4 @@
-/*     tcp_subr.c      4.23    82/04/04        */
+/*     tcp_subr.c      4.24    82/04/24        */
 
 #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);
 }
 }