ba81a8ec902580c5279413ad7883184bf6f85971
[l2tpns.git] / l2tplac.h
1 /* L2TPLAC */
2 /* $Id: l2tplac.h,v 1.0 2012-07-01 14:49:28 fendo Exp $ */
3
4 #ifndef __L2TPLAC_H__
5 #define __L2TPLAC_H__
6
7 // l2tplac.c
8 void initremotelnsdata();
9 int session_forward_tolns(uint8_t *buf, int len, sessionidt sess, uint16_t proto);
10 int forwardtolns(sessionidt s, char * puser);
11 void calc_lac_auth(tunnelidt t, uint8_t id, uint8_t *out);
12 int istunneltolns(tunnelidt t);
13 int addremotelns(char *mask, char *IP_RemoteLNS, char *Port_RemoteLNS, char *SecretRemoteLNS);
14 #endif /* __L2TPLAC_H__ */