// L2TPNS Global Stuff
-// $Id: l2tpns.h,v 1.58 2005/03/10 03:31:25 bodea Exp $
+// $Id: l2tpns.h,v 1.61 2005/03/10 06:18:47 bodea Exp $
#ifndef __L2TPNS_H__
#define __L2TPNS_H__
#define CLI_TUN_KILL 0x01
-// dump header: update number if internal format changes
-#define DUMP_MAGIC "L2TPNS#" VERSION "#"
-
// structures
typedef struct // route
{
sessionidt sessionbyuser(char *username);
void random_data(uint8_t *buf, int len);
void sessionkill(sessionidt s, char *reason);
-void sessionshutdown(sessionidt s, char *reason);
+void sessionshutdown(sessionidt s, char *reason, int result, int error);
void send_garp(in_addr_t ip);
void tunnelsend(uint8_t *buf, uint16_t l, tunnelidt t);
void sendipcp(tunnelidt t, sessionidt s);