[insert project logo here (125x200px max)]
Navigator
Mailinglists
Please report any errors or ommissions you find to our `Help' mailinglist, or
post a message in the Forums.
Copyright and Licensing Information
Snap is (c) Jonathan T. Moore, 1999-2002 and licensed under the
GNU General Public License (GPL).
All other parts of Splash are (c) Willem de Bruijn, 2002-2003 and
licensed under the BSD Open Source License.
All sourcecode is made publicly available.
Acknowledgement
Splash and the Splash website are hosted
by SourceForge.net
|
Splash - Documentation
SNMP Plus a Lightweight API for SNAP Handling
Main Page Alphabetical List Data Structures File List Data Fields Globals
snap-1.1-wjdb/lib/net-support.h File Reference#include <sys/socket.h>
Include dependency graph for net-support.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
|
Data Structures |
struct | aftype |
struct | hwtype |
Defines |
#define | RTACTION_ADD 1 |
#define | RTACTION_DEL 2 |
#define | RTACTION_HELP 3 |
#define | RTACTION_FLUSH 4 |
#define | RTACTION_SHOW 5 |
#define | FLAG_EXT 3 |
#define | FLAG_NUM 4 |
#define | FLAG_SYM 8 |
#define | FLAG_CACHE 16 |
#define | FLAG_FIB 32 |
#define | FLAG_VERBOSE 64 |
#define | AFTRANS_OPTS |
#define | AFTRANS_CNT 9 |
#define | EINTERN(file, text) |
#define | ENOSUPP(A, B) |
#define | ESYSNOT(A, B) fprintf(stderr, _("%s: no support for `%s' on this system.\n"),A,B) |
#define | E_NOTFOUND 8 |
#define | E_SOCK 7 |
#define | E_LOOKUP 6 |
#define | E_VERSION 5 |
#define | E_USAGE 4 |
#define | E_OPTERR 3 |
#define | E_INTERN 2 |
#define | E_NOSUPP 1 |
Functions |
hwtype * | get_hwtype (const char *name) |
hwtype * | get_hwntype (int type) |
aftype * | get_aftype (const char *name) |
aftype * | get_afntype (int type) |
int | getargs (char *string, char *arguments[]) |
void | getroute_init (void) |
void | setroute_init (void) |
void | activate_init (void) |
int | route_info (const char *afname, int flags) |
int | route_edit (int action, const char *afname, int flags, char **argv) |
int | activate_ld (const char *hwname, int fd) |
int | ip_masq_info (int numeric, int ext) |
int | INET_rprint (int options) |
int | INET6_rprint (int options) |
int | DDP_rprint (int options) |
int | IPX_rprint (int options) |
int | NETROM_rprint (int options) |
int | AX25_rprint (int options) |
int | INET_rinput (int action, int flags, char **argv) |
int | INET6_rinput (int action, int flags, char **argv) |
int | DDP_rinput (int action, int flags, char **argv) |
int | IPX_rinput (int action, int flags, char **argv) |
int | NETROM_rinput (int action, int flags, char **argv) |
int | AX25_rinput (int action, int flags, char **argv) |
int | aftrans_opt (const char *arg) |
void | aftrans_def (char *tool, char *argv0, char *dflt) |
char * | get_sname (int socknumber, char *proto, int numeric) |
Variables |
int | flag_unx |
int | flag_ipx |
int | flag_ax25 |
int | flag_ddp |
int | flag_netrom |
int | flag_inet |
int | flag_inet6 |
char | afname [] |
Define Documentation
|
Value: {"ax25", 0, 0, 1}, \
{"ip", 0, 0, 1}, \
{"ipx", 0, 0, 1}, \
{"appletalk", 0, 0, 1}, \
{"netrom", 0, 0, 1}, \
{"inet", 0, 0, 1}, \
{"ddp", 0, 0, 1}, \
{"unix", 0, 0, 1}, \
{"tcpip", 0, 0, 1}
Definition at line 124 of file net-support.h. |
#define EINTERN |
( |
file, |
|
|
text |
|
) |
|
|
|
Value: fprintf(stderr, \
"%s: Internal Error `%s'.\n",file,text);
Definition at line 136 of file net-support.h. |
|
Value: fprintf(stderr,\
_("%s: feature `%s' not supported.\n" \
"Please recompile `net-tools' with "\
"newer kernel source or full configuration.\n"),A,B)
Definition at line 139 of file net-support.h. |
#define ESYSNOT |
( |
A, |
|
|
B |
|
) |
fprintf(stderr, _("%s: no support for `%s' on this system.\n"),A,B)
|
|
Function Documentation
void activate_init |
( |
void |
|
) |
|
|
int activate_ld |
( |
const char * |
hwname, |
|
|
int |
fd |
|
) |
|
|
void aftrans_def |
( |
char * |
tool, |
|
|
char * |
argv0, |
|
|
char * |
dflt |
|
) |
|
|
int aftrans_opt |
( |
const char * |
arg |
) |
|
|
int AX25_rinput |
( |
int |
action, |
|
|
int |
flags, |
|
|
char ** |
argv |
|
) |
|
|
int AX25_rprint |
( |
int |
options |
) |
|
|
int DDP_rinput |
( |
int |
action, |
|
|
int |
flags, |
|
|
char ** |
argv |
|
) |
|
|
int DDP_rprint |
( |
int |
options |
) |
|
|
struct aftype* get_afntype |
( |
int |
type |
) |
|
|
struct aftype* get_aftype |
( |
const char * |
name |
) |
|
|
struct hwtype* get_hwntype |
( |
int |
type |
) |
|
|
struct hwtype* get_hwtype |
( |
const char * |
name |
) |
|
|
char* get_sname |
( |
int |
socknumber, |
|
|
char * |
proto, |
|
|
int |
numeric |
|
) |
|
|
int getargs |
( |
char * |
string, |
|
|
char * |
arguments[] |
|
) |
|
|
void getroute_init |
( |
void |
|
) |
|
|
int INET6_rinput |
( |
int |
action, |
|
|
int |
flags, |
|
|
char ** |
argv |
|
) |
|
|
int INET6_rprint |
( |
int |
options |
) |
|
|
int INET_rinput |
( |
int |
action, |
|
|
int |
flags, |
|
|
char ** |
argv |
|
) |
|
|
int INET_rprint |
( |
int |
options |
) |
|
|
int ip_masq_info |
( |
int |
numeric, |
|
|
int |
ext |
|
) |
|
|
int IPX_rinput |
( |
int |
action, |
|
|
int |
flags, |
|
|
char ** |
argv |
|
) |
|
|
int IPX_rprint |
( |
int |
options |
) |
|
|
int NETROM_rinput |
( |
int |
action, |
|
|
int |
flags, |
|
|
char ** |
argv |
|
) |
|
|
int NETROM_rprint |
( |
int |
options |
) |
|
|
int route_edit |
( |
int |
action, |
|
|
const char * |
afname, |
|
|
int |
flags, |
|
|
char ** |
argv |
|
) |
|
|
int route_info |
( |
const char * |
afname, |
|
|
int |
flags |
|
) |
|
|
void setroute_init |
( |
void |
|
) |
|
|
Variable Documentation
|