diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-03-22 01:42:36 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-03-22 01:42:36 +0000 |
commit | cf1499edcf7ad391d4ef52a16c429b130e9c36e4 (patch) | |
tree | be50831372c63f87399e325913aa1ddbfa50d664 /sys/net/if_sppp.h | |
parent | a55cba1a5d4ffb357d5ceefa36c38b62c0f7f204 (diff) |
new timeouts
Diffstat (limited to 'sys/net/if_sppp.h')
-rw-r--r-- | sys/net/if_sppp.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/net/if_sppp.h b/sys/net/if_sppp.h index 25b529d9e10..184c324a46c 100644 --- a/sys/net/if_sppp.h +++ b/sys/net/if_sppp.h @@ -26,6 +26,10 @@ #ifndef _NET_IF_HDLC_H_ #define _NET_IF_HDLC_H_ 1 +#ifdef __OpenBSD__ +#include <sys/timeout.h> +#endif + #define IDX_LCP 0 /* idx into state table */ struct slcp { @@ -100,6 +104,9 @@ struct sppp { #if defined(__FreeBSD__) && __FreeBSD__ >= 3 struct callout_handle ch[IDX_COUNT]; /* per-proto and if callouts */ struct callout_handle pap_my_to_ch; /* PAP needs one more... */ +#elif defined(__OpenBSD__) + struct timeout ch[IDX_COUNT]; + struct timeout pap_my_to_ch; #endif struct slcp lcp; /* LCP params */ struct sipcp ipcp; /* IPCP params */ |