summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/lcp.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1998-01-11 17:50:49 +0000
committerbrian <brian@FreeBSD.org>1998-01-11 17:50:49 +0000
commit425b212bdd92037d4fd4a47c670c5d806cf9e0ab (patch)
treed7239e66c5418688f977b6602bcdc8958bf8ed97 /usr.sbin/ppp/lcp.h
parent86a038bcfcbf1e18826c345db5eabf350280087f (diff)
downloadFreeBSD-src-425b212bdd92037d4fd4a47c670c5d806cf9e0ab.zip
FreeBSD-src-425b212bdd92037d4fd4a47c670c5d806cf9e0ab.tar.gz
Make things work when sizeof(long) != 32 (hopefully)
Diffstat (limited to 'usr.sbin/ppp/lcp.h')
-rw-r--r--usr.sbin/ppp/lcp.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/usr.sbin/ppp/lcp.h b/usr.sbin/ppp/lcp.h
index 249cb78..5c594f8 100644
--- a/usr.sbin/ppp/lcp.h
+++ b/usr.sbin/ppp/lcp.h
@@ -15,7 +15,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: lcp.h,v 1.14 1997/12/03 10:23:49 brian Exp $
+ * $Id: lcp.h,v 1.15 1997/12/04 18:49:28 brian Exp $
*
* TODO:
*/
@@ -23,24 +23,24 @@
#define REJECTED(p, x) ((p)->his_reject & (1<<(x)))
struct lcpstate {
- u_long his_mru;
- u_long his_accmap;
- u_long his_magic;
- u_long his_lqrperiod;
+ u_int16_t his_mru;
+ u_int32_t his_accmap;
+ u_int32_t his_magic;
+ u_int32_t his_lqrperiod;
u_char his_protocomp;
u_char his_acfcomp;
u_short his_auth;
- u_long want_mru;
- u_long want_accmap;
- u_long want_magic;
- u_long want_lqrperiod;
+ u_short want_mru;
+ u_int32_t want_accmap;
+ u_int32_t want_magic;
+ u_int32_t want_lqrperiod;
u_char want_protocomp;
u_char want_acfcomp;
u_short want_auth;
- u_long his_reject; /* Request codes rejected by peer */
- u_long my_reject; /* Request codes I have rejected */
+ u_int32_t his_reject; /* Request codes rejected by peer */
+ u_int32_t my_reject; /* Request codes I have rejected */
u_short auth_iwait;
u_short auth_ineed;
OpenPOWER on IntegriCloud