no longer need to include vm_statistics.h
[unix-history] / usr / src / sys / netccitt / hd_timer.c
index ab9c6ba..d234346 100644 (file)
@@ -9,24 +9,24 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)hd_timer.c  7.2 (Berkeley) %G%
+ *     @(#)hd_timer.c  7.4 (Berkeley) %G%
  */
 
  */
 
-#include "../h/param.h"
-#include "../h/systm.h"
-#include "../h/mbuf.h"
-#include "../h/domain.h"
-#include "../h/socket.h"
-#include "../h/protosw.h"
-#include "../h/errno.h"
-#include "../h/time.h"
-#include "../h/kernel.h"
+#include "param.h"
+#include "systm.h"
+#include "mbuf.h"
+#include "domain.h"
+#include "socket.h"
+#include "protosw.h"
+#include "errno.h"
+#include "time.h"
+#include "kernel.h"
 
 #include "../net/if.h"
 
 
 #include "../net/if.h"
 
-#include "../netccitt/hdlc.h"
-#include "../netccitt/hd_var.h"
-#include "../netccitt/x25.h"
+#include "hdlc.h"
+#include "hd_var.h"
+#include "x25.h"
 
 /*
  * these can be patched with adb if the
 
 /*
  * these can be patched with adb if the
@@ -83,7 +83,7 @@ hd_timer ()
                case DM_SENT: 
                        if (++hdp->hd_retxcnt == hd_n2) {
                                /* Notify the packet level. */
                case DM_SENT: 
                        if (++hdp->hd_retxcnt == hd_n2) {
                                /* Notify the packet level. */
-                               (void) pk_ctlinput (PRC_LINKDOWN, hdp->hd_xcp);
+                               (void) pk_ctlinput (PRC_LINKDOWN, hdp->hd_pkp);
                                hdp->hd_retxcnt = 0;
                                hdp->hd_state = SABM_SENT;
                                hd_writeinternal (hdp, SABM, POLLOFF);
                                hdp->hd_retxcnt = 0;
                                hdp->hd_state = SABM_SENT;
                                hd_writeinternal (hdp, SABM, POLLOFF);