aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph
diff options
context:
space:
mode:
authorArchie Cobbs <archie@FreeBSD.org>2000-09-19 03:22:06 +0000
committerArchie Cobbs <archie@FreeBSD.org>2000-09-19 03:22:06 +0000
commit2b9cf2f70980eda4e2b05136e3cc11ac01d29a92 (patch)
tree7fb2be59d2621e8e42ee8e26a40720a91d71441a /sys/netgraph
parent30d57611e8954c0fe5f04004c17c082150f407c5 (diff)
downloadsrc-2b9cf2f70980eda4e2b05136e3cc11ac01d29a92.tar.gz
src-2b9cf2f70980eda4e2b05136e3cc11ac01d29a92.zip
Rename "struct session" to "struct sess_con" to avoid conflict with
upcoming "struct session" in proc.h. Requested by: jasone
Notes
Notes: svn path=/head/; revision=66052
Diffstat (limited to 'sys/netgraph')
-rw-r--r--sys/netgraph/ng_pppoe.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netgraph/ng_pppoe.c b/sys/netgraph/ng_pppoe.c
index be43cd454bee..a74db2671bd1 100644
--- a/sys/netgraph/ng_pppoe.c
+++ b/sys/netgraph/ng_pppoe.c
@@ -134,16 +134,16 @@ typedef struct sess_neg *negp;
/*
* Session information that is needed after connection.
*/
-struct session {
+struct sess_con {
hook_p hook;
u_int16_t Session_ID;
- struct session *hash_next; /* not yet uesed */
enum state state;
char creator[NG_NODELEN + 1]; /* who to notify */
struct pppoe_full_hdr pkt_hdr; /* used when connected */
negp neg; /* used when negotiating */
+ /*struct sess_con *hash_next;*/ /* not yet used */
};
-typedef struct session *sessp;
+typedef struct sess_con *sessp;
/*
* Information we store for each node
@@ -155,7 +155,7 @@ struct PPPOE {
u_int packets_in; /* packets in from ethernet */
u_int packets_out; /* packets out towards ethernet */
u_int32_t flags;
- /*struct session *buckets[HASH_SIZE];*/ /* not yet used */
+ /*struct sess_con *buckets[HASH_SIZE];*/ /* not yet used */
};
typedef struct PPPOE *priv_p;