X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/29c173cadc5969d03fabac250fa9868c2481f10c..3141b86973b160bd51aa16c60e4437f7c25758df:/l2tpns.h diff --git a/l2tpns.h b/l2tpns.h index 3783771..74b8d93 100644 --- a/l2tpns.h +++ b/l2tpns.h @@ -1,5 +1,5 @@ // 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__ @@ -152,9 +152,6 @@ struct cli_tunnel_actions { #define CLI_TUN_KILL 0x01 -// dump header: update number if internal format changes -#define DUMP_MAGIC "L2TPNS#" VERSION "#" - // structures typedef struct // route { @@ -620,7 +617,7 @@ sessionidt sessionbyipv6(struct in6_addr ip); 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);