summaryrefslogtreecommitdiff
path: root/usr.sbin/pppoe/pppoe.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-05-06 20:29:05 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-05-06 20:29:05 +0000
commit4f937ab6a47b65def7997fcb4e0124b0007ccb67 (patch)
tree5916f169437a1ca056a9ff36dc34b9084c2605c1 /usr.sbin/pppoe/pppoe.h
parent27319b38759f64153abc447f73a3032f41f57f27 (diff)
knf and other cleanups
Diffstat (limited to 'usr.sbin/pppoe/pppoe.h')
-rw-r--r--usr.sbin/pppoe/pppoe.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.sbin/pppoe/pppoe.h b/usr.sbin/pppoe/pppoe.h
index ef1b13aa6b1..9eef41fc860 100644
--- a/usr.sbin/pppoe/pppoe.h
+++ b/usr.sbin/pppoe/pppoe.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pppoe.h,v 1.6 2003/06/04 04:46:13 jason Exp $ */
+/* $OpenBSD: pppoe.h,v 1.7 2004/05/06 20:29:04 deraadt Exp $ */
/*
* Copyright (c) 2000 Network Security Technologies, Inc. http://www.netsec.net
@@ -122,18 +122,14 @@ struct pppoe_session_master {
extern struct pppoe_session_master session_master;
-void session_init(void);
void session_destroy(struct pppoe_session *);
struct pppoe_session *session_new(struct ether_addr *);
struct pppoe_session *session_find_eaid(struct ether_addr *, u_int16_t);
-struct pppoe_session *session_find_fd(int);
int runppp(int, u_int8_t *);
int bpf_to_ppp(int, u_long, u_int8_t *);
int ppp_to_bpf(int, int, struct ether_addr *, struct ether_addr *, u_int16_t);
int send_padt(int, struct ether_addr *, struct ether_addr *, u_int16_t);
-void recv_debug(int, struct ether_addr *,
- struct ether_header *, struct pppoe_header *, u_long, u_int8_t *);
void debug_packet(u_int8_t *, int);
u_int32_t cookie_bake(void);