⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tags

📁 第二层隧道模块l2tp源码,开发环境为linux
💻
📖 第 1 页 / 共 3 页
字号:
assigned_call_avp	avp.c	/^int assigned_call_avp (struct tunnel *t, struct call *c, void *data,$/;"	fassigned_tunnel_avp	avp.c	/^int assigned_tunnel_avp (struct tunnel *t, struct call *c, void *data,$/;"	fattr	avp.h	/^    _u16 attr;$/;"	m	struct:avp_hdrauthfile	file.h	/^    char authfile[STRLEN];      \/* File containing authentication info *\/$/;"	m	struct:globalauthname	file.h	/^    char authname[STRLEN];      \/* Who we authenticate as *\/$/;"	m	struct:lacauthname	file.h	/^    char authname[STRLEN];      \/* Who we authenticate as *\/$/;"	m	struct:lnsauthpeer	file.h	/^    int authpeer;               \/* Authenticate our peer? *\/$/;"	m	struct:lacauthpeer	file.h	/^    int authpeer;               \/* Authenticate our peer? *\/$/;"	m	struct:lnsauthself	file.h	/^    int authself;               \/* Authenticate ourselves? *\/$/;"	m	struct:lacauthself	file.h	/^    int authself;               \/* Authenticate ourselves? *\/$/;"	m	struct:lnsautodial	file.h	/^    int autodial;               \/* Try to dial immediately? *\/$/;"	m	struct:lacavp	avp.h	/^struct avp$/;"	savp_hdr	avp.h	/^struct avp_hdr$/;"	savps	avp.c	/^struct avp avps[] = {$/;"	vbc	l2tp.h	/^    int bc;                     \/* Peer's bearer channels *\/$/;"	m	struct:tunnelbcmp	osport.h	25;"	dbcopy	osport.h	23;"	dbearer	call.h	/^    int bearer;                 \/* Bearer type of call *\/$/;"	m	struct:callbearer_caps_avp	avp.c	/^int bearer_caps_avp (struct tunnel *t, struct call *c, void *data,$/;"	fbearer_type_avp	avp.c	/^int bearer_type_avp (struct tunnel *t, struct call *c, void *data,$/;"	fbits	md5.h	/^    uint32 bits[2];$/;"	m	struct:MD5Contextbuf	md5.h	/^    uint32 buf[4];$/;"	m	struct:MD5Contextbuffer	misc.h	/^struct buffer$/;"	sbufferDump	misc.c	/^void bufferDump (char *buf, int buflen)$/;"	fbufferDumpWIDTH	misc.c	85;"	d	file:byteReverse	md5.c	/^void byteReverse (unsigned char *buf, unsigned longs)$/;"	fbyteReverse	md5.c	32;"	d	file:bzero	osport.h	24;"	dc	file.h	/^    struct call *c;             \/* Our call *\/$/;"	m	struct:laccLr	l2tp.h	/^    int cLr;                    \/* Last packet received by peer *\/$/;"	m	struct:tunnelcall	call.h	/^struct call$/;"	scall_close	call.c	/^void call_close (struct call *c)$/;"	fcall_head	l2tp.h	/^    struct call *call_head;     \/* Member calls *\/$/;"	m	struct:tunnelcall_physchan_avp	avp.c	/^int call_physchan_avp (struct tunnel *t, struct call *c, void *data,$/;"	fcall_rws	file.h	/^    int call_rws;               \/* Call rws *\/$/;"	m	struct:laccall_rws	file.h	/^    int call_rws;               \/* Call rws *\/$/;"	m	struct:lnscall_serno_avp	avp.c	/^int call_serno_avp (struct tunnel *t, struct call *c, void *data, int datalen)$/;"	fcalls	l2tp.h	/^    int calls;$/;"	m	struct:tunnel_listcdn_result_codes	avp.c	/^char *cdn_result_codes[] = {$/;"	vchal_them	l2tp.h	/^    struct challenge chal_them; \/* Our challenge to them *\/$/;"	m	struct:tunnelchal_us	l2tp.h	/^    struct challenge chal_us;   \/* Their Challenge to us *\/$/;"	m	struct:tunnelchallenge	aaa.h	/^    unsigned char *challenge;       \/* The original challenge *\/$/;"	m	struct:challengechallenge	aaa.h	/^struct challenge$/;"	schallenge	file.h	/^    int challenge;              \/* Challenge authenticate the peer? *\/$/;"	m	struct:lacchallenge	file.h	/^    int challenge;              \/* Challenge authenticate the peer? *\/$/;"	m	struct:lnschallenge_avp	avp.c	/^int challenge_avp (struct tunnel *t, struct call *c, void *data, int datalen)$/;"	fchalresp_avp	avp.c	/^int chalresp_avp (struct tunnel *t, struct call *c, void *data, int datalen)$/;"	fchap_refuse	file.h	/^    int chap_refuse;            \/* Refuse CHAP authentication for us *\/$/;"	m	struct:lacchap_refuse	file.h	/^    int chap_refuse;            \/* Refuse CHAP authentication for us *\/$/;"	m	struct:lnschap_require	file.h	/^    int chap_require;           \/* Require CHAP auth for PPP *\/$/;"	m	struct:lacchap_require	file.h	/^    int chap_require;           \/* Require CHAP auth for PPP *\/$/;"	m	struct:lnscheck_control	control.c	/^inline int check_control (const struct buffer *buf, struct tunnel *t,$/;"	fcheck_payload	control.c	/^inline int check_payload (struct buffer *buf, struct tunnel *t,$/;"	fchild_handler	l2tpd.c	/^void child_handler (int signal)$/;"	fcid	call.h	/^    int cid;                    \/* Their call number *\/$/;"	m	struct:callcid	l2tp.h	/^    _u16 cid;                   \/* Call ID *\/$/;"	m	struct:control_hdrcid	l2tp.h	/^    _u16 cid;                   \/* Caller ID *\/$/;"	m	struct:payload_hdrcloseSs	call.h	/^    _u16 closeSs;               \/* What number was in Ns when we started to $/;"	m	struct:callclosing	call.h	/^    int closing;                \/* Are we actually in the process of closing? *\/$/;"	m	struct:callcnu	call.h	/^    int cnu;                    \/* Do we need to send updated Ns, Nr values? *\/$/;"	m	struct:callconfigfile	file.h	/^    char configfile[STRLEN];    \/* File containing configuration info *\/$/;"	m	struct:globalcontainer	call.h	/^    struct tunnel *container;   \/* Tunnel we belong to *\/$/;"	m	struct:callcontrol_fd	l2tpd.c	/^int control_fd;                 \/* descriptor of control area *\/$/;"	vcontrol_finish	control.c	/^int control_finish (struct tunnel *t, struct call *c)$/;"	fcontrol_hdr	l2tp.h	/^struct control_hdr$/;"	scontrol_rec_seq_num	l2tp.h	/^    _u16 control_rec_seq_num;   \/* Next expected to receive *\/$/;"	m	struct:tunnelcontrol_seq_num	l2tp.h	/^    _u16 control_seq_num;       \/* Sequence for next packet *\/$/;"	m	struct:tunnelcontrol_xmit	network.c	/^void control_xmit (void *b)$/;"	fcontrol_zlb	control.c	/^void control_zlb (struct buffer *buf, struct tunnel *t, struct call *c)$/;"	fcount	l2tp.h	/^    int count;                  \/* How many membmer calls? *\/$/;"	m	struct:tunnelcount	l2tp.h	/^    int count;$/;"	m	struct:tunnel_listdaemon	file.h	/^    int daemon;                 \/* Use daemon mode? *\/$/;"	m	struct:globaldaemonize	l2tpd.c	/^void daemonize() {$/;"	fdata	scheduler.h	/^    void *data;                 \/* Data to be passed to func *\/$/;"	m	struct:schedule_entrydata_rec_seq_num	call.h	/^    _u16 data_rec_seq_num;      \/* Sequence for next received payload packet *\/$/;"	m	struct:calldata_seq_num	call.h	/^    _u16 data_seq_num;          \/* Sequence for next payload packet *\/$/;"	m	struct:calldeath_handler	l2tpd.c	/^void death_handler (int signal)$/;"	fdebug	call.h	/^    int debug;$/;"	m	struct:calldebug	file.h	/^    int debug;                  \/* Debug PPP? *\/$/;"	m	struct:lnsdebug	file.h	/^    int debug;$/;"	m	struct:lacdebug	l2tp.h	/^    int debug;                  \/* Are we debugging or not? *\/$/;"	m	struct:tunneldebug_avp	network.c	/^int debug_avp = 1;              \/* Debug AVP negotiations? *\/$/;"	vdebug_network	network.c	/^int debug_network = 0;          \/* Debug networking? *\/$/;"	vdebug_state	network.c	/^int debug_state = 0;            \/* Debug state machine? *\/$/;"	vdebug_tunnel	network.c	/^int debug_tunnel = 0;$/;"	vdecrypt_avp	aaa.c	/^int decrypt_avp (char *buf, struct tunnel *t)$/;"	fdefaultroute	file.h	/^    int defaultroute;           \/* Use as default route? *\/$/;"	m	struct:lacdeflac	file.c	/^struct lac *deflac;$/;"	vdeflns	file.c	/^struct lns *deflns;$/;"	vdeschedule	scheduler.c	/^void deschedule (struct schedule_entry *s)$/;"	fdescription	avp.h	/^    char *description;          \/* A name, for debugging *\/$/;"	m	struct:avpdestroy_call	call.c	/^void destroy_call (struct call *c)$/;"	fdestroy_tunnel	l2tpd.c	/^void destroy_tunnel (struct tunnel *t)$/;"	fdethrottle	network.c	/^void dethrottle (void *call)$/;"	fdial_no	call.h	/^    char dial_no[128];          \/* jz: dialing number for outgoing call *\/$/;"	m	struct:calldial_no_tmp	l2tpd.c	/^char *dial_no_tmp;              \/* jz: Dialnumber for Outgoing Call *\/$/;"	vdialed	call.h	/^    char dialed[MAXSTRLEN];     \/* Number dialed for call *\/$/;"	m	struct:calldialed_number_avp	avp.c	/^int dialed_number_avp (struct tunnel *t, struct call *c, void *data,$/;"	fdialing	call.h	/^    char dialing[MAXSTRLEN];    \/* Original caller ID *\/$/;"	m	struct:calldialing_number_avp	avp.c	/^int dialing_number_avp (struct tunnel *t, struct call *c, void *data,$/;"	fdie	call.h	/^    int die;$/;"	m	struct:calldo_control	l2tpd.c	/^void do_control ()$/;"	fdo_packet_dump	misc.c	/^void do_packet_dump (struct buffer *buf)$/;"	fencrypt_avp	aaa.c	/^void encrypt_avp (struct buffer *buf, _u16 len, struct tunnel *t)$/;"	fend	file.h	/^    unsigned int end;$/;"	m	struct:iprangeentname	file.h	/^    char entname[STRLEN];       \/* Name of this entry *\/$/;"	m	struct:lacentname	file.h	/^    char entname[STRLEN];       \/* Name of this entry *\/$/;"	m	struct:lnserror	call.h	/^    int error;                  \/* Error code *\/$/;"	m	struct:callerrormsg	call.h	/^    char errormsg[MAXSTRLEN];   \/* Error message *\/$/;"	m	struct:callevents	scheduler.c	/^struct schedule_entry *events;$/;"	vexclusive	file.h	/^    int exclusive;              \/* Only one tunnel per host? *\/$/;"	m	struct:lnsexpand_payload	control.c	/^inline int expand_payload (struct buffer *buf, struct tunnel *t,$/;"	fextract	network.c	/^inline void extract (void *buf, int *tunnel, int *call)$/;"	ffbit	call.h	/^    int fbit;                   \/* Use sequence numbers? *\/$/;"	m	struct:callfc	l2tp.h	/^    int fc;                     \/* Framing capabilities of peer *\/$/;"	m	struct:tunnelfcstab	l2tp.h	173;"	dfd	call.h	/^    int fd;                     \/* File descriptor for pty *\/$/;"	m	struct:callfilerr	file.c	/^char filerr[STRLEN];$/;"	vfirmware	l2tp.h	/^    int firmware;               \/* Peer's firmware revision *\/$/;"	m	struct:tunnelfirmware_rev_avp	avp.c	/^int firmware_rev_avp (struct tunnel *t, struct call *c, void *data,$/;"	ffix_hdr	network.c	/^inline void fix_hdr (void *buf)$/;"	fforceuserspace	file.h	/^    int forceuserspace;         \/* Force userspace? *\/$/;"	m	struct:globalframe	call.h	/^    int frame;                  \/* Framing being used *\/$/;"	m	struct:callframe_type_avp	avp.c	/^int frame_type_avp (struct tunnel *t, struct call *c, void *data, int datalen)$/;"	fframing_caps_avp	avp.c	/^int framing_caps_avp (struct tunnel *t, struct call *c, void *data,$/;"	ffrom	network.c	/^struct sockaddr_in server, from;        \/* Server and transmitter structs *\/$/;"	vfunc	scheduler.h	/^    void (*func) (void *);      \/* Function to execute *\/$/;"	m	struct:schedule_entrygconfig	file.c	/^struct global gconfig;$/;"	vgetPtyMaster	pty.c	/^int getPtyMaster (char *tty10, char *tty01)$/;"	fget_addr	aaa.c	/^unsigned int get_addr (struct iprange *ipr)$/;"	fget_call	call.c	/^struct call *get_call (int tunnel, int call, unsigned int addr, int port)$/;"	fget_dev_entropy	misc.c	/^int get_dev_entropy(char *buf, int count)$/;"	fget_egd_entropy	misc.c	/^int get_egd_entropy(char *buf, int count)$/;"	fget_entropy	misc.c	/^int get_entropy (char *buf, int count)$/;"	fget_lns	aaa.c	/^struct lns *get_lns (struct tunnel *t)$/;"	fget_secret	aaa.c	/^int get_secret (char *us, char *them, char *secret, int size)$/;"	fget_sys_entropy	misc.c	/^int get_sys_entropy(char *buf, int count)$/;"	fget_tunnel	call.c	/^struct call *get_tunnel (int tunnel, unsigned int addr, int port)$/;"	fglobal	file.h	/^struct global$/;"	sglobal_serno	control.c	/^int global_serno = 1;$/;"	vhalt	misc.h	64;"	dhandle_avps	avp.c	/^int handle_avps (struct buffer *buf, struct tunnel *t, struct call *c)$/;"	fhandle_challenge	aaa.c	/^int handle_challenge (struct tunnel *t, struct challenge *chal)$/;"	fhandle_packet	control.c	/^inline int handle_packet (struct buffer *buf, struct tunnel *t,$/;"	fhandle_special	control.c	/^void handle_special (struct buffer *buf, struct call *c, _u16 call)$/;"	fhandler	avp.h	/^    int (*handler) (struct tunnel *, struct call *, void *, int);$/;"	m	struct:avphandler	file.h	/^    int (*handler) (char *word, char *value, int context, void *item);$/;"	m	struct:keywordhbit	file.h	/^    int hbit;                   \/* Permit hidden AVP's? *\/$/;"	m	struct:lachbit	file.h	/^    int hbit;                   \/* Permit hidden AVP's? *\/$/;"	m	struct:lnshbit	l2tp.h	/^    int hbit;                   \/* Allow hidden AVP's? *\/$/;"	m	struct:tunnelhead	l2tp.h	/^    struct tunnel *head;$/;"	m	struct:tunnel_listhello	control.c	/^void hello (void *tun)$/;"	fhello	l2tp.h	/^    struct schedule_entry *hello;$/;"	m	struct:tunnelhost	file.h	/^struct host$/;"	shostname	file.h	/^    char hostname[STRLEN];      \/* Hostname to report *\/$/;"	m	struct:lachostname	file.h	/^    char hostname[STRLEN];      \/* Hostname to report *\/$/;"	m	struct:lnshostname	file.h	/^    char hostname[STRLEN];$/;"	m	struct:hosthostname	l2tp.h	/^    char hostname[MAXSTRLEN];   \/* Remote hostname *\/$/;"	m	struct:tunnelhostname	network.c	/^char hostname[256];$/;"	vhostname_avp	avp.c	/^int hostname_avp (struct tunnel *t, struct call *c, void *data, int datalen)$/;"	fhtons	misc.h	50;"	dhtons	misc.h	53;"	dhtons	misc.h	55;"	didle	file.h	/^    int idle;                   \/* Idle timeout in seconds *\/$/;"	m	struct:lacidle	file.h	/^    int idle;                   \/* Idle timeout in seconds *\/$/;"	m	struct:lnsignore_avp	avp.c	/^int ignore_avp (struct tunnel *t, struct call *c, void *data, int datalen)$/;"	fin	md5.h	/^    unsigned char in[64];$/;"	m	struct:MD5Contextindex	osport.h	22;"	dinit	l2tpd.c	/^void init (int argc,char *argv[])$/;"	finit_addr	aaa.c	/^void init_addr ()$/;"	finit_args	l2tpd.c	/^void init_args(int argc, char *argv[]) {$/;"	finit_config	file.c	/^int init_config ()$/;"	finit_network	network.c	/^int init_network (void)$/;"	finit_scheduler	scheduler.c	/^void init_scheduler (void)$/;"	finit_tunnel_list	l2tpd.c	/^void init_tunnel_list (struct tunnel_list *t)$/;"	fip_used	aaa.c	/^static int ip_used (unsigned int addr)$/;"	f	file:iprange	file.h	/^struct iprange$/;"	skernel_support	network.c	/^int kernel_support;             \/* Kernel Support there or not? *\/$/;"	vkeyword	file.h	/^    char *keyword;$/;"	m	struct:keywordkeyword	file.h	/^struct keyword$/;"	sl2tp_call	l2tpd.c	/^struct tunnel *l2tp_call (char *host, int port, struct lac *lac,$/;"	flac	call.h	/^    struct lac *lac;            \/* LAC that owns us *\/$/;"	m	struct:calllac	file.h	/^struct lac$/;"	slac	l2tp.h	/^    struct lac *lac;            \/* LAC that owns us *\/$/;"	m	struct:tunnellac_call	l2tpd.c	/^struct call *lac_call (int tid, struct lac *lac, struct lns *lns)$/;"	flac_disconnect	l2tpd.c	/^void lac_disconnect (int tid)$/;"	flac_hangup	l2tpd.c	/^void lac_hangup (int cid)$/;"	flaclist	file.c	/^struct lac *laclist;$/;"	vlacs	file.h	/^    struct iprange *lacs;       \/* Hosts permitted to connect *\/$/;"	m	struct:lnslastsent	call.h	/^    struct timeval lastsent;    \/* When did we last send something? *\/$/;"	m	struct:calllbit	call.h	/^    int lbit;                   \/* Should we send length field? *\/$/;"	m	struct:calllbit	file.h	/^    int lbit;                   \/* Use the length field? *\/$/;"	m	struct:laclbit	file.h	/^    int lbit;                   \/* Use the length field? *\/$/;"	m	struct:lnslen	misc.h	/^    int len;$/;"	m	struct:bufferlength	avp.h	/^    _u16 length;$/;"	m	struct:avp_hdrlength	l2tp.h	/^    _u16 length;                \/* Length field *\/$/;"	m	struct:control_hdrlength	l2tp.h	/^    _u16 length;                \/* Optional Length *\/$/;"	m	struct:payload_hdrlisten_addy	network.c	/^unsigned int listen_addy = INADDR_ANY;  \/* Address to listen on *\/$/;"	vlns	call.h	/^    struct lns *lns;            \/* LNS that owns us *\/$/;"	m	struct:calllns	file.h	/^    struct host *lns;           \/* LNS's we can connect to *\/$/;"	m	struct:laclns	file.h	/^struct lns$/;"	slns	l2tp.h	/^    struct lns *lns;            \/* LNS that owns us *\/$/;"	m	struct:tunnellnslist	file.c	/^struct lns *lnslist;$/;"	vlocaladdr	file.h	/^    unsigned int localaddr;     \/* Local IP address *\/$/;"	m	struct:laclocaladdr	file.h	/^    unsigned int localaddr;     \/* Local IP for PPP connections *\/$/;"	m	struct:lnslog	misc.c	/^void log (int level, const char *fmt, ...)$/;"	fm	avp.h	/^    int m;                      \/* Set M? *\/$/;"	m	struct:avpmagic_lac_dial	l2tpd.c	/^void magic_lac_dial (void *data)$/;"	fmagic_lac_tunnel	l2tpd.c	/^void magic_lac_tunnel (void *data)$/;"	fmain	l2tpd.c	/^int main (int argc, char *argv[])$/;"	fmax_tunnels	l2tpd.c	/^int max_tunnels = DEF_MAX_TUNNELS;$/;"	vmaxlen	misc.h	/^    int maxlen;$/;"	m	struct:buffermd5	aaa.h	/^    struct MD5Context md5;$/;"	m	struct:challenge

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -