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

📄 tags

📁 第二层隧道模块l2tp源码,开发环境为linux
💻
📖 第 1 页 / 共 3 页
字号:
message_type_avp	avp.c	/^int message_type_avp (struct tunnel *t, struct call *c, void *data,$/;"	fmk_challenge	aaa.c	/^void mk_challenge (char *c, int length)$/;"	fmsgtype	call.h	/^    int msgtype;                \/* What kind of message are we$/;"	m	struct:callmsgtypes	avp.c	/^char *msgtypes[] = {$/;"	vneedclose	call.h	/^    int needclose;              \/* Do we need to close this call? *\/$/;"	m	struct:callnego	call.h	/^    int nego;                   \/* Show negotiation? *\/$/;"	m	struct:callnego	l2tp.h	/^    int nego;                   \/* Show Negotiation? *\/$/;"	m	struct:tunnelnetwork_thread	network.c	/^void network_thread ()$/;"	fnew_buf	misc.c	/^struct buffer *new_buf (int size)$/;"	fnew_call	call.c	/^struct call *new_call (struct tunnel *parent)$/;"	fnew_lac	file.c	/^struct lac *new_lac ()$/;"	fnew_lns	file.c	/^struct lns *new_lns ()$/;"	fnew_outgoing	control.c	/^struct buffer *new_outgoing (struct tunnel *t)$/;"	fnew_payload	call.c	/^struct buffer *new_payload (struct sockaddr_in peer)$/;"	fnew_tunnel	l2tpd.c	/^struct tunnel *new_tunnel ()$/;"	fnext	aaa.h	/^    struct addr_ent *next;$/;"	m	struct:addr_entnext	call.h	/^    struct call *next;          \/* Next call, for linking *\/$/;"	m	struct:callnext	file.h	/^    struct host *next;$/;"	m	struct:hostnext	file.h	/^    struct iprange *next;$/;"	m	struct:iprangenext	file.h	/^    struct lac *next;$/;"	m	struct:lacnext	file.h	/^    struct lns *next;$/;"	m	struct:lnsnext	l2tp.h	/^    struct tunnel *next;        \/* Allows us to be linked easily *\/$/;"	m	struct:tunnelnext	misc.h	/^    struct ppp_opts *next;$/;"	m	struct:ppp_optsnext	scheduler.h	/^    struct schedule_entry *next;        \/* Next entry in queue *\/$/;"	m	struct:schedule_entryntohs	misc.h	56;"	dnull_handler	l2tpd.c	/^void null_handler(int sig)$/;"	fnum	avp.h	/^    int num;                    \/* Number of AVP *\/$/;"	m	struct:avpo_pad	l2tp.h	/^    _u16 o_pad;                 \/* Optional offset padding *\/$/;"	m	struct:payload_hdro_size	l2tp.h	/^    _u16 o_size;                \/* Optional offset size *\/$/;"	m	struct:payload_hdroldptyconf	call.h	/^    struct termios *oldptyconf;$/;"	m	struct:callopt_destroy	misc.c	/^void opt_destroy (struct ppp_opts *option)$/;"	foption	misc.h	/^    char option[MAXSTRLEN];$/;"	m	struct:ppp_optsourbc	l2tp.h	/^    int ourbc;                  \/* Our bearer channels *\/$/;"	m	struct:tunnelourcid	call.h	/^    int ourcid;                 \/* Our call number *\/$/;"	m	struct:callourfbit	call.h	/^    int ourfbit;                \/* Do we want sequence numbers? *\/$/;"	m	struct:callourfc	l2tp.h	/^    int ourfc;                  \/* Our framing capabilities *\/$/;"	m	struct:tunnelourrws	l2tp.h	/^    int ourrws;                 \/* Receive Window Size *\/$/;"	m	struct:tunnelourtb	l2tp.h	/^    _u64 ourtb;                 \/* Our tie breaker *\/$/;"	m	struct:tunnelourtid	l2tp.h	/^    int ourtid;                 \/* Our tunnel identifier *\/$/;"	m	struct:tunnelpLr	call.h	/^    int pLr;                    \/* Last packet received by peer *\/$/;"	m	struct:callpacket_delay_avp	avp.c	/^int packet_delay_avp (struct tunnel *t, struct call *c, void *data,$/;"	fpacket_dump	network.c	/^int packet_dump = 0;            \/* Dump packets? *\/$/;"	vpap_refuse	file.h	/^    int pap_refuse;             \/* Refuse PAP authentication for us *\/$/;"	m	struct:lacpap_refuse	file.h	/^    int pap_refuse;             \/* Refuse PAP authentication for us *\/$/;"	m	struct:lnspap_require	file.h	/^    int pap_require;            \/* Require PAP auth for PPP *\/$/;"	m	struct:lacpap_require	file.h	/^    int pap_require;            \/* Require PAP auth for PPP *\/$/;"	m	struct:lnsparse_config	file.c	/^int parse_config (FILE * f)$/;"	fpasswdauth	file.h	/^    int passwdauth;             \/* Authenticate by passwd file? (or PAM) *\/$/;"	m	struct:lnspayload_hdr	l2tp.h	/^struct payload_hdr$/;"	speer	l2tp.h	/^    struct sockaddr_in peer;    \/* Peer's Address *\/$/;"	m	struct:tunnelpeer	misc.h	/^    struct sockaddr_in peer;$/;"	m	struct:bufferpeername	file.h	/^    char peername[STRLEN];      \/* Force peer name to this *\/$/;"	m	struct:lacpeername	file.h	/^    char peername[STRLEN];      \/* Force peer name to this *\/$/;"	m	struct:lnsphyschan	call.h	/^    int physchan;               \/* Physical channel ID *\/$/;"	m	struct:callpidfile	file.h	/^    char pidfile[STRLEN];       \/* File containing the pid number*\/$/;"	m	struct:globalpnu	call.h	/^    int pnu;                    \/* ditto for payload packet *\/$/;"	m	struct:callport	file.h	/^    int port;                   \/* Port number to listen to *\/$/;"	m	struct:globalport	file.h	/^    int port;$/;"	m	struct:hostppd	call.h	/^    int ppd;                    \/* Packet processing delay (of peer) *\/$/;"	m	struct:callppd	l2tpd.c	/^int ppd = 1;                    \/* Packet processing delay *\/$/;"	vppp_crc16_table	control.c	/^_u16 ppp_crc16_table[256] = {$/;"	vppp_opts	misc.h	/^struct ppp_opts$/;"	spppd	call.h	/^    int pppd;                   \/* PID of pppd *\/$/;"	m	struct:callpppoptfile	file.h	/^    char pppoptfile[STRLEN];    \/* File containing PPP options *\/$/;"	m	struct:lacpppoptfile	file.h	/^    char pppoptfile[STRLEN];    \/* File containing PPP options *\/$/;"	m	struct:lnspridns	file.h	/^    unsigned int pridns;        \/* Primary DNS server *\/$/;"	m	struct:lnsprint_challenge	aaa.c	/^inline void print_challenge (struct challenge *chal)$/;"	fprint_md5	aaa.c	/^void print_md5 (void *md5)$/;"	fpriwins	file.h	/^    unsigned int priwins;       \/* Primary WINS server *\/$/;"	m	struct:lnsprotocol_version_avp	avp.c	/^int protocol_version_avp (struct tunnel *t, struct call *c, void *data,$/;"	fproxyarp	file.h	/^    int proxyarp;               \/* Use proxy-arp? *\/$/;"	m	struct:lnsproxyauth	file.h	/^    int proxyauth;              \/* Allow proxy authentication? *\/$/;"	m	struct:lnsprx	call.h	/^    int prx;                    \/* What was the last packet we sent$/;"	m	struct:callqcid	call.h	/^    int qcid;                   \/* Quitting CID *\/$/;"	m	struct:callqtid	l2tp.h	/^    int qtid;                   \/* TID for disconnection *\/$/;"	m	struct:tunnelrand_source	common.h	/^int rand_source;$/;"	vrand_vector_avp	avp.c	/^int rand_vector_avp (struct tunnel *t, struct call *c, void *data,$/;"	frandom	osport.h	32;"	drange	file.h	/^    struct iprange *range;      \/* Range of IP's we provide *\/$/;"	m	struct:lnsread_packet	call.c	/^int read_packet (struct buffer *buf, int fd, int convert)$/;"	freceive_window_size_avp	avp.c	/^int receive_window_size_avp (struct tunnel *t, struct call *c, void *data,$/;"	frecycle_buf	misc.c	/^inline void recycle_buf (struct buffer *b)$/;"	frecycle_outgoing	control.c	/^inline void recycle_outgoing (struct buffer *buf, struct sockaddr_in peer)$/;"	frecycle_payload	call.c	/^inline void recycle_payload (struct buffer *buf, struct sockaddr_in peer)$/;"	fredial	file.h	/^    int redial;                 \/* Redial if disconnected *\/$/;"	m	struct:lacremoteaddr	file.h	/^    unsigned int remoteaddr;    \/* Force remote address to this *\/$/;"	m	struct:lacrend	misc.h	/^    void *rend;$/;"	m	struct:bufferreply	aaa.h	/^    unsigned char reply[MD_SIG_SIZE];   \/* What the peer sent *\/$/;"	m	struct:challengereserve_addr	aaa.c	/^void reserve_addr (unsigned int addr)$/;"	fresponse	aaa.h	/^    unsigned char response[MD_SIG_SIZE];        \/* What we expect as a respsonse *\/$/;"	m	struct:challengeresult	call.h	/^    int result;                 \/* Result code *\/$/;"	m	struct:callresult_code_avp	avp.c	/^int result_code_avp (struct tunnel *t, struct call *c, void *data,$/;"	fretries	misc.h	/^    int retries;                \/* Again, if a control packet, how many retries? *\/$/;"	m	struct:bufferrmax	file.h	/^    int rmax;                   \/* Maximum # of consecutive redials *\/$/;"	m	struct:lacrsched	file.h	/^    struct schedule_entry *rsched;$/;"	m	struct:lacrstart	misc.h	/^    void *rstart;$/;"	m	struct:bufferrtimeout	file.h	/^    int rtimeout;               \/* Redial every this many # of seconds *\/$/;"	m	struct:lacrtries	file.h	/^    int rtries;                 \/* # of tries so far *\/$/;"	m	struct:lacrws	l2tp.h	/^    int rws;                    \/* Peer's Receive Window Size *\/$/;"	m	struct:tunnelrx_bytes	call.h	/^    int rx_bytes;               \/* received bytes *\/$/;"	m	struct:callrx_pkts	call.h	/^    int rx_pkts;                \/* Received packets *\/$/;"	m	struct:callrx_speed_avp	avp.c	/^int rx_speed_avp (struct tunnel *t, struct call *c, void *data, int datalen)$/;"	frxspeed	call.h	/^    int rxspeed;                \/* Receive speed *\/$/;"	m	struct:callsafe_copy	misc.c	/^inline void safe_copy (char *a, char *b, int size)$/;"	fsanity	l2tp.h	/^    int sanity;                 \/* check for sanity? *\/$/;"	m	struct:tunnelschedule	scheduler.c	/^struct schedule_entry *schedule (struct timeval tv, void (*func) (void *),$/;"	fschedule_entry	scheduler.h	/^struct schedule_entry$/;"	sschedule_lock	scheduler.c	/^void schedule_lock ()$/;"	fschedule_unlock	scheduler.c	/^void schedule_unlock ()$/;"	fsecdns	file.h	/^    unsigned int secdns;        \/* Secondary DNS server *\/$/;"	m	struct:lnssecret	aaa.h	/^    unsigned char secret[MAXSTRLEN];    \/* The shared secret *\/$/;"	m	struct:challengesecret	l2tp.h	/^    char secret[MAXSTRLEN];     \/* Secret to use *\/$/;"	m	struct:tunnelsecwins	file.h	/^    unsigned int secwins;       \/* Secondary WINS server *\/$/;"	m	struct:lnsself	l2tp.h	/^    struct call *self;$/;"	m	struct:tunnelsend_zlb	control.c	/^void send_zlb (void *data)$/;"	fsense	file.h	/^    int sense;$/;"	m	struct:iprangeseq_reqd	call.h	/^    int seq_reqd;               \/* Sequencing required? *\/$/;"	m	struct:callseq_reqd_avp	avp.c	/^int seq_reqd_avp (struct tunnel *t, struct call *c, void *data, int datalen)$/;"	fserno	call.h	/^    unsigned int serno;         \/* Call serial number *\/$/;"	m	struct:callserver	network.c	/^struct sockaddr_in server, from;        \/* Server and transmitter structs *\/$/;"	vserver_socket	network.c	/^int server_socket;              \/* Server socket *\/$/;"	vset_accesscontrol	file.c	/^int set_accesscontrol (char *word, char *value, int context, void *item)$/;"	fset_authfile	file.c	/^int set_authfile (char *word, char *value, int context, void *item)$/;"	fset_authname	file.c	/^int set_authname (char *word, char *value, int context, void *item)$/;"	fset_autodial	file.c	/^int set_autodial (char *word, char *value, int context, void *item)$/;"	fset_boolean	file.c	/^int set_boolean (char *word, char *value, int *ptr)$/;"	fset_challenge	file.c	/^int set_challenge (char *word, char *value, int context, void *item)$/;"	fset_debug	file.c	/^int set_debug (char *word, char *value, int context, void *item)$/;"	fset_defaultroute	file.c	/^int set_defaultroute (char *word, char *value, int context, void *item)$/;"	fset_error	misc.c	/^void set_error (struct call *c, int error, const char *fmt, ...)$/;"	fset_exclusive	file.c	/^int set_exclusive (char *word, char *value, int context, void *item)$/;"	fset_flow	file.c	/^int set_flow (char *word, char *value, int context, void *item)$/;"	fset_hbit	file.c	/^int set_hbit (char *word, char *value, int context, void *item)$/;"	fset_hostname	file.c	/^int set_hostname (char *word, char *value, int context, void *item)$/;"	fset_int	file.c	/^int set_int (char *word, char *value, int *ptr)$/;"	fset_ip	file.c	/^int set_ip (char *word, char *value, unsigned int *addr)$/;"	fset_iprange	file.c	/^int set_iprange (char *word, char *value, int context, void *item)$/;"	fset_lac	file.c	/^int set_lac (char *word, char *value, int context, void *item)$/;"	fset_lbit	file.c	/^int set_lbit (char *word, char *value, int context, void *item)$/;"	fset_lns	file.c	/^int set_lns (char *word, char *value, int context, void *item)$/;"	fset_localaddr	file.c	/^int set_localaddr (char *word, char *value, int context, void *item)$/;"	fset_papchap	file.c	/^int set_papchap (char *word, char *value, int context, void *item)$/;"	fset_passwdauth	file.c	/^int set_passwdauth (char *word, char *value, int context, void *item)$/;"	fset_port	file.c	/^int set_port (char *word, char *value, int context, void *item)$/;"	fset_pppoptfile	file.c	/^int set_pppoptfile (char *word, char *value, int context, void *item)$/;"	fset_rand_dev	file.c	/^int set_rand_dev ()$/;"	fset_rand_egd	file.c	/^int set_rand_egd (char *value)$/;"	fset_rand_source	file.c	/^int set_rand_source (char *word, char *value, int context, void *item)$/;"	fset_rand_sys	file.c	/^int set_rand_sys ()$/;"	fset_range	file.c	/^struct iprange *set_range (char *word, char *value, struct iprange *in)$/;"	fset_redial	file.c	/^int set_redial (char *word, char *value, int context, void *item)$/;"	fset_remoteaddr	file.c	/^int set_remoteaddr (char *word, char *value, int context, void *item)$/;"	fset_rmax	file.c	/^int set_rmax (char *word, char *value, int context, void *item)$/;"	fset_rtimeout	file.c	/^int set_rtimeout (char *word, char *value, int context, void *item)$/;"	fset_rws	file.c	/^int set_rws (char *word, char *value, int context, void *item)$/;"	fset_string	file.c	/^int set_string (char *word, char *value, char *ptr, int len)$/;"	fset_userspace	file.c	/^int set_userspace (char *word, char *value, int context, void *item)$/;"	fshow_status	l2tpd.c	/^void show_status (int fd)$/;"	fsrandom	osport.h	33;"	dss	aaa.h	/^    unsigned char ss;           \/* State we're sending in *\/$/;"	m	struct:challengestart	file.h	/^    unsigned int start;$/;"	m	struct:iprangestart	misc.h	/^    void *start;$/;"	m	struct:bufferstart_pppd	l2tpd.c	/^int start_pppd (struct call *c, struct ppp_opts *opts)$/;"	fstate	aaa.h	/^    int state;                  \/* What state is challenge in? *\/$/;"	m	struct:challengestate	call.h	/^    int state;                  \/* Current state *\/$/;"	m	struct:callstate	l2tp.h	/^    int state;                  \/* State of tunnel *\/$/;"	m	struct:tunnelstatus_handler	l2tpd.c	/^void status_handler (int sig)$/;"	fstopccn_result_codes	avp.c	/^char *stopccn_result_codes[] = {$/;"	vsub_address_avp	avp.c	/^int sub_address_avp (struct tunnel *t, struct call *c, void *data,$/;"	fsubaddy	call.h	/^    char subaddy[MAXSTRLEN];    \/* Sub address *\/$/;"	m	struct:callswaps	misc.c	/^inline void swaps (void *buf_v, int len)$/;"	fswitch_io	l2tpd.c	/^int switch_io = 0;              \/* jz: Switch for Incoming or Outgoing Call *\/$/;"	vt	file.h	/^    struct tunnel *t;           \/* Our tunnel *\/$/;"	m	struct:lact	file.h	/^    struct tunnel *t;           \/* Tunnel of this, if it's ready *\/$/;"	m	struct:lnstb	l2tp.h	/^    _u64 tb;                    \/* Their tie breaker *\/$/;"	m	struct:tunneltid	l2tp.h	/^    _u16 tid;                   \/* Tunnel ID *\/$/;"	m	struct:control_hdrtid	l2tp.h	/^    _u16 tid;                   \/* Tunnel ID *\/$/;"	m	struct:payload_hdrtid	l2tp.h	/^    int tid;                    \/* Peer's tunnel identifier *\/$/;"	m	struct:tunneltoss	misc.c	/^inline void toss (struct buffer *buf)$/;"	ftun_rws	file.h	/^    int tun_rws;                \/* Receive window size (tunnel) *\/$/;"	m	struct:lactun_rws	file.h	/^    int tun_rws;                \/* Receive window size (tunnel) *\/$/;"	m	struct:lnstunnel	l2tp.h	/^struct tunnel$/;"	stunnel	misc.h	/^    struct tunnel *tunnel;      \/* Who owns this packet, if it's a control *\/$/;"	m	struct:buffertunnel_list	l2tp.h	/^struct tunnel_list$/;"	stunnels	l2tpd.c	/^struct tunnel_list tunnels;$/;"	vtv	scheduler.h	/^    struct timeval tv;          \/* Scheduled time to execute *\/$/;"	m	struct:schedule_entrytx_bytes	call.h	/^    int tx_bytes;               \/* transmitted bytes *\/$/;"	m	struct:calltx_pkts	call.h	/^    int tx_pkts;                \/* Transmitted packets *\/$/;"	m	struct:calltx_speed_avp	avp.c	/^int tx_speed_avp (struct tunnel *t, struct call *c, void *data, int datalen)$/;"	ftxspeed	call.h	/^    int txspeed;                \/* Transmit speed *\/$/;"	m	struct:calltype	misc.h	/^    int type;$/;"	m	struct:bufferuaddr	aaa.c	/^static struct addr_ent *uaddr[ADDR_HASH_SIZE];$/;"	v	file:udp_xmit	network.c	/^void udp_xmit (struct buffer *buf)$/;"	fuint32	md5.h	/^typedef unsigned int uint32;$/;"	tuint32	md5.h	/^typedef unsigned long uint32;$/;"	tunreserve_addr	aaa.c	/^void unreserve_addr (unsigned int addr)$/;"	fusage	l2tpd.c	/^void usage(void) {$/;"	futs	l2tpd.c	/^struct utsname uts;$/;"	vvector	aaa.h	/^    unsigned char *vector;$/;"	m	struct:challengevector_len	aaa.h	/^    unsigned int vector_len;$/;"	m	struct:challengevendor	l2tp.h	/^    char vendor[MAXSTRLEN];     \/* Vendor of remote product *\/$/;"	m	struct:tunnelvendor_avp	avp.c	/^int vendor_avp (struct tunnel *t, struct call *c, void *data, int datalen)$/;"	fvendorid	avp.h	/^    _u16 vendorid;$/;"	m	struct:avp_hdrver	l2tp.h	/^    _u16 ver;                   \/* Version and friends *\/$/;"	m	struct:payload_hdrver	l2tp.h	/^    _u16 ver;                   \/* Version and more *\/$/;"	m	struct:control_hdrwords	file.c	/^struct keyword words[] = {$/;"	vwords	file.c	/^struct keyword words[];$/;"	vwrite_packet	control.c	/^inline int write_packet (struct buffer *buf, struct tunnel *t, struct call *c,$/;"	fwrong_length	avp.c	/^void wrong_length (struct call *c, char *field, int expected, int found,$/;"	fyesno	file.c	/^int yesno (char *value)$/;"	fzero	scheduler.c	/^static struct timeval zero;$/;"	v	file:zlb_xmit	call.h	/^    struct schedule_entry *zlb_xmit;$/;"	m	struct:call

⌨️ 快捷键说明

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