diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2008-08-28 13:19:39 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2008-08-28 13:19:39 +0000 |
commit | d773ef3fa87a6513840e05dbc285a6d6b8997e36 (patch) | |
tree | f2b75aa3e851aab221a1f162bc12ff359ebe57dd /sys/net | |
parent | 022ab2efad31585ed412cfe72f08e584a038bc66 (diff) |
some style fixes.
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_pppoe.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/net/if_pppoe.c b/sys/net/if_pppoe.c index 985dfc38d5c..c328c7f3990 100644 --- a/sys/net/if_pppoe.c +++ b/sys/net/if_pppoe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_pppoe.c,v 1.25 2008/08/28 13:10:54 brad Exp $ */ +/* $OpenBSD: if_pppoe.c,v 1.26 2008/08/28 13:19:38 brad Exp $ */ /* $NetBSD: if_pppoe.c,v 1.51 2003/11/28 08:56:48 keihan Exp $ */ /* @@ -75,7 +75,7 @@ struct pppoetag { u_int16_t len; } __packed; -#define PPPOE_HEADERLEN sizeof(struct pppoehdr) +#define PPPOE_HEADERLEN sizeof(struct pppoehdr) #define PPPOE_OVERHEAD (PPPOE_HEADERLEN + 2) #define PPPOE_VERTYPE 0x11 /* VER=1, TYPE = 1 */ @@ -90,7 +90,7 @@ struct pppoetag { #define PPPOE_TAG_ACSYS_ERR 0x0202 /* AC system error */ #define PPPOE_TAG_GENERIC_ERR 0x0203 /* gerneric error */ -#define PPPOE_CODE_PADI 0x09 /* Active Discovery Initiation */ +#define PPPOE_CODE_PADI 0x09 /* Active Discovery Initiation */ #define PPPOE_CODE_PADO 0x07 /* Active Discovery Offer */ #define PPPOE_CODE_PADR 0x19 /* Active Discovery Request */ #define PPPOE_CODE_PADS 0x65 /* Active Discovery Session confirmation */ @@ -105,7 +105,7 @@ struct pppoetag { *(PTR)++ = (VAL) % 256 /* Add a complete PPPoE header to the buffer pointed to by PTR */ -#define PPPOE_ADD_HEADER(PTR, CODE, SESS, LEN) \ +#define PPPOE_ADD_HEADER(PTR, CODE, SESS, LEN) \ *(PTR)++ = PPPOE_VERTYPE; \ *(PTR)++ = (CODE); \ PPPOE_ADD_16(PTR, SESS); \ @@ -113,11 +113,11 @@ struct pppoetag { #define PPPOE_DISC_TIMEOUT (hz*5) /* base for quick timeout calculation */ #define PPPOE_SLOW_RETRY (hz*60) /* persistent retry interval */ -#define PPPOE_DISC_MAXPADI 4 /* retry PADI four times (quickly) */ +#define PPPOE_DISC_MAXPADI 4 /* retry PADI four times (quickly) */ #define PPPOE_DISC_MAXPADR 2 /* retry PADR twice */ #ifdef PPPOE_SERVER -#define IFF_PASSIVE IFF_LINK0 /* wait passively for connection */ +#define IFF_PASSIVE IFF_LINK0 /* wait passively for connection */ #endif struct pppoe_softc { |