summaryrefslogtreecommitdiff
path: root/sys/net/pipex_local.h
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2017-01-24 10:08:31 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2017-01-24 10:08:31 +0000
commit19a4090f69e659425d32dc7a4a3ef5e3b86dd91c (patch)
treee85bb97297d3a8f7acf78c97e0518cfd8a448129 /sys/net/pipex_local.h
parenteede9d5e80801addcf2d7700c2dbaa58879e2b3e (diff)
A space here, a space there. Soon we're talking real whitespace
rectification.
Diffstat (limited to 'sys/net/pipex_local.h')
-rw-r--r--sys/net/pipex_local.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/net/pipex_local.h b/sys/net/pipex_local.h
index 11b0b8ca215..f3f0e6886f4 100644
--- a/sys/net/pipex_local.h
+++ b/sys/net/pipex_local.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pipex_local.h,v 1.23 2015/11/14 14:53:13 miod Exp $ */
+/* $OpenBSD: pipex_local.h,v 1.24 2017/01/24 10:08:30 krw Exp $ */
/*
* Copyright (c) 2009 Internet Initiative Japan Inc.
@@ -47,7 +47,7 @@
#endif
#define PIPEX_HASH_DIV 8
#define PIPEX_HASH_SIZE (PIPEX_MAX_SESSION/PIPEX_HASH_DIV)
-#define PIPEX_HASH_MASK (PIPEX_HASH_SIZE-1)
+#define PIPEX_HASH_MASK (PIPEX_HASH_SIZE-1)
#define PIPEX_CLOSE_TIMEOUT 30
#define PIPEX_PPPMINLEN 5
/* minimum PPP header length is 1 and minimum ppp payload length is 4 */
@@ -84,7 +84,7 @@ struct pipex_pppoe_session {
#ifdef PIPEX_PPTP
struct pipex_pptp_session {
/* sequence number gap between pipex and userland */
- int32_t snd_gap; /* gap of our sequence */
+ int32_t snd_gap; /* gap of our sequence */
int32_t rcv_gap; /* gap of peer's sequence */
int32_t ul_snd_una; /* userland send acked seq */
@@ -296,13 +296,13 @@ extern struct pipex_hash_head pipex_id_hashtable[];
*(cp)++ = (u_char)(s); \
} while (0)
-#define GETSHORT(s, cp) do { \
+#define GETSHORT(s, cp) do { \
(s) = *(cp)++ << 8; \
(s) |= *(cp)++; \
} while (0)
#define PUTSHORT(s, cp) do { \
- *(cp)++ = (u_char) ((s) >> 8); \
+ *(cp)++ = (u_char) ((s) >> 8); \
*(cp)++ = (u_char) (s); \
} while (0)