|
System | : | Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686 |
Software | : | Apache. PHP/5.3.6-13ubuntu3.10 |
ID | : | uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
|
|
Safe Mode | : | OFF |
Open_Basedir | : | OFF |
Freespace | : | 33.46 GB of 70.42 GB (47.52%) |
|
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON |
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
|
[ System Info ]
[ Processes ]
[ SQL Manager ]
[ Eval ]
[ Encoder ]
[ Mailer ]
[ Back Connection ]
[ Backdoor Server ]
[ Kernel Exploit Search ]
[ MD5 Decrypter ]
[ Reverse IP ]
[ Kill Shell ]
[ FTP Brute-Force ]
|
|
/
distr/
l2tpd-0.68/
- drwxrwsr-x
|
Viewing file: misc.h (1.81 KB) -rw-rw-r--Select action/file-type:  ( +) |  ( +) |  ( +) | Code ( +) | Session ( +) |  ( +) | SDB ( +) |  ( +) |  ( +) |  ( +) |  ( +) |  ( +) |
/* * Layer Two Tunnelling Protocol Daemon * Copyright (C) 1998 Adtran, Inc. * Copyright (C) 2002 Jeff McAdams * * Mark Spencer * * This software is distributed under the terms * of the GPL, which you should have received * along with this source. * * Misc stuff... */
#ifndef _MISC_H #define _MISC_H
struct tunnel; struct buffer { int type; void *rstart; void *rend; void *start; int len; int maxlen; #if 0 unsigned int addr; int port; #else struct sockaddr_in peer; #endif struct tunnel *tunnel; /* Who owns this packet, if it's a control */ int retries; /* Again, if a control packet, how many retries? */ };
struct ppp_opts { char option[MAXSTRLEN]; struct ppp_opts *next; };
#define IPADDY(a) inet_ntoa(*((struct in_addr *)&(a)))
#define DEBUG c ? c->debug || t->debug : t->debug
#ifdef USE_SWAPS_INSTEAD #define SWAPS(a) ((((a) & 0xFF) << 8 ) | (((a) >> 8) & 0xFF)) #ifdef htons #undef htons #endif #ifdef ntohs #undef htons #endif #define htons(a) SWAPS(a) #define ntohs(a) SWAPS(a) #endif
#define LOG_DEBUG 7 #define LOG_LOG 6 #define LOG_WARN 4 #define LOG_CRIT 2
#define halt() printf("Halted.\n") ; for(;;)
extern char hostname[]; extern void log (int level, const char *fmt, ...); extern struct buffer *new_buf (int); extern void udppush_handler (int); extern int addfcs (struct buffer *buf); extern inline void swaps (void *, int); extern void do_packet_dump (struct buffer *); extern void status (const char *fmt, ...); extern void status_handler (int signal); extern int getPtyMaster (char *a, char *b); extern void do_control (void); extern void recycle_buf (struct buffer *); extern void safe_copy (char *, char *, int); extern void opt_destroy (struct ppp_opts *); extern struct ppp_opts *add_opt (struct ppp_opts *, char *, ...); #endif
|