X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/7fd68b1daeab9a2a1a3ee8f0652c25fc37bf3549..4df24fd868177859ddd778f1f45bc825f6264cfb:/l2tplac.h diff --git a/l2tplac.h b/l2tplac.h new file mode 100644 index 0000000..ba81a8e --- /dev/null +++ b/l2tplac.h @@ -0,0 +1,14 @@ +/* L2TPLAC */ +/* $Id: l2tplac.h,v 1.0 2012-07-01 14:49:28 fendo Exp $ */ + +#ifndef __L2TPLAC_H__ +#define __L2TPLAC_H__ + +// l2tplac.c +void initremotelnsdata(); +int session_forward_tolns(uint8_t *buf, int len, sessionidt sess, uint16_t proto); +int forwardtolns(sessionidt s, char * puser); +void calc_lac_auth(tunnelidt t, uint8_t id, uint8_t *out); +int istunneltolns(tunnelidt t); +int addremotelns(char *mask, char *IP_RemoteLNS, char *Port_RemoteLNS, char *SecretRemoteLNS); +#endif /* __L2TPLAC_H__ */