|
version 1.1.1.1.2.3, 2011/10/13 16:08:52
|
version 1.5, 2015/05/19 23:25:29
|
|
Line 12 terms:
|
Line 12 terms:
|
| All of the documentation and software included in the ELWIX and AITNET |
All of the documentation and software included in the ELWIX and AITNET |
| Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
| |
|
| Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 | Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 |
| by Michael Pounov <misho@elwix.org>. All rights reserved. |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
| |
|
| Redistribution and use in source and binary forms, with or without |
Redistribution and use in source and binary forms, with or without |
|
Line 47 SUCH DAMAGE.
|
Line 47 SUCH DAMAGE.
|
| #define __DEFS_H |
#define __DEFS_H |
| |
|
| |
|
| |
#ifndef STRSIZ |
| #define STRSIZ 256 |
#define STRSIZ 256 |
| #define ANSH_L2_BUFLEN 1024 | #endif |
| | |
| #define PIDFILE_ANSHD "/var/run/anshd.pid" |
#define PIDFILE_ANSHD "/var/run/anshd.pid" |
| #define PIDFILE_ANSH3D "/var/run/ansh3d.pid" |
#define PIDFILE_ANSH3D "/var/run/ansh3d.pid" |
| |
|
| |
#define DEFAULT_KEY "_ansh_ELWIX_" |
| |
|
| #define VERB(x) if ((x) <= Verbose) |
#define VERB(x) if ((x) <= Verbose) |
| #define FTRACE(x) if ((x) <= Verbose) syslog(LOG_DEBUG, "Debug:: I`m in %s(%d) ...\n", __func__, __LINE__) |
#define FTRACE(x) if ((x) <= Verbose) syslog(LOG_DEBUG, "Debug:: I`m in %s(%d) ...\n", __func__, __LINE__) |
| #define LOG(fmt, ...) do { assert((fmt)); \ |
#define LOG(fmt, ...) do { assert((fmt)); \ |
|
Line 76 struct tagProc {
|
Line 80 struct tagProc {
|
| pid_t proc_pid; |
pid_t proc_pid; |
| |
|
| int proc_sock; |
int proc_sock; |
| struct sockaddr proc_cli; | sockaddr_t proc_cli; |
| struct ether_addr proc_ea; | ether_addr_t proc_ea; |
| |
|
| u_short proc_blen; |
u_short proc_blen; |
| u_char *proc_buf_[2]; |
u_char *proc_buf_[2]; |
|
Line 93 typedef SLIST_HEAD(, tagProc) proc_head_t;
|
Line 97 typedef SLIST_HEAD(, tagProc) proc_head_t;
|
| extern intptr_t Kill; |
extern intptr_t Kill; |
| extern int Timeout, Verbose; |
extern int Timeout, Verbose; |
| extern u_int Crypted; |
extern u_int Crypted; |
| |
extern char Key[STRSIZ]; |
| |
|
| |
|
| #endif |
#endif |