summaryrefslogtreecommitdiff
path: root/usr.sbin/pppoe/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pppoe/server.c')
-rw-r--r--usr.sbin/pppoe/server.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/usr.sbin/pppoe/server.c b/usr.sbin/pppoe/server.c
index d861f306af7..ea34212e2a7 100644
--- a/usr.sbin/pppoe/server.c
+++ b/usr.sbin/pppoe/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.c,v 1.6 2002/02/16 21:28:07 millert Exp $ */
+/* $OpenBSD: server.c,v 1.7 2002/02/17 19:42:39 millert Exp $ */
/*
* Copyright (c) 2000 Network Security Technologies, Inc. http://www.netsec.net
@@ -64,17 +64,17 @@ static char ac_cookie_key[8];
static void getpackets(int, char *, struct ether_addr *);
-static void recv_padi __P((int, struct ether_addr *,
- struct ether_header *, struct pppoe_header *, u_long, u_int8_t *));
-static void recv_padr __P((int, char *, struct ether_addr *,
- struct ether_header *, struct pppoe_header *, u_long, u_int8_t *));
-static void recv_padt __P((int, struct ether_addr *,
- struct ether_header *, struct pppoe_header *, u_long, u_int8_t *));
-
-static void send_pado __P((int, struct ether_addr *,
- struct ether_header *, struct pppoe_header *, u_long, u_int8_t *));
-static void send_pads __P((int, char *, struct ether_addr *,
- struct ether_header *, struct pppoe_header *, u_long, u_int8_t *));
+static void recv_padi(int, struct ether_addr *,
+ struct ether_header *, struct pppoe_header *, u_long, u_int8_t *);
+static void recv_padr(int, char *, struct ether_addr *,
+ struct ether_header *, struct pppoe_header *, u_long, u_int8_t *);
+static void recv_padt(int, struct ether_addr *,
+ struct ether_header *, struct pppoe_header *, u_long, u_int8_t *);
+
+static void send_pado(int, struct ether_addr *,
+ struct ether_header *, struct pppoe_header *, u_long, u_int8_t *);
+static void send_pads(int, char *, struct ether_addr *,
+ struct ether_header *, struct pppoe_header *, u_long, u_int8_t *);
static void key_gen(void);
static u_int8_t *key_make(u_int8_t *, int, u_int8_t *, int);
static int key_cmp(u_int8_t *, int, u_int8_t *, int, u_int8_t *, int);