[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

SourceForge.net Logo

osi-open source certified logo

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/af.c File Reference

#include <sys/types.h>
#include <sys/socket.h>
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <ctype.h>
#include <string.h>
#include <unistd.h>
#include "config.h"
#include "net-support.h"
#include "pathnames.h"
#include "intl.h"

Include dependency graph for af.c:

Include dependency graph

Go to the source code of this file.


Data Structures

struct  aftrans_t

Functions

void afinit ()
void aftrans_def (char *tool, char *argv0, char *dflt)
aftypeget_aftype (const char *name)
aftypeget_afntype (int af)
int aftrans_opt (const char *arg)

Variables

int flag_unx = 0
int flag_ipx = 0
int flag_ax25 = 0
int flag_ddp = 0
int flag_netrom = 0
int flag_inet = 0
int flag_inet6 = 0
int flag_econet = 0
aftrans_t aftrans []
char afname [256] = ""
aftype unspec_aftype
aftype unix_aftype
aftype inet_aftype
aftype inet6_aftype
aftype ax25_aftype
aftype netrom_aftype
aftype ipx_aftype
aftype ddp_aftype
aftype ec_aftype

Function Documentation

void afinit  
 

Definition at line 103 of file af.c.

References _, and aftype::title.

Referenced by get_afntype(), and get_aftype().

void aftrans_def char *    tool,
char *    argv0,
char *    dflt
 

Definition at line 135 of file af.c.

References afname, and aftrans_opt().

int aftrans_opt const char *    arg
 

Definition at line 211 of file af.c.

References _, afname, aftrans, aftrans_t::alias, aftrans_t::flag, and aftrans_t::name.

Referenced by aftrans_def().

struct aftype* get_afntype int    af
 

Definition at line 195 of file af.c.

References afinit().

struct aftype* get_aftype const char *    name
 

Definition at line 175 of file af.c.

References _, and afinit().


Variable Documentation

char afname[256] = ""
 

Definition at line 60 of file af.c.

Referenced by aftrans_def(), and aftrans_opt().

struct aftrans_t aftrans[]
 

Referenced by aftrans_opt().

struct aftype ax25_aftype
 

Definition at line 66 of file af.c.

struct aftype ddp_aftype
 

Definition at line 69 of file af.c.

struct aftype ec_aftype
 

Definition at line 70 of file af.c.

int flag_ax25 = 0
 

Definition at line 32 of file af.c.

int flag_ddp = 0
 

Definition at line 33 of file af.c.

int flag_econet = 0
 

Definition at line 37 of file af.c.

int flag_inet = 0
 

Definition at line 35 of file af.c.

int flag_inet6 = 0
 

Definition at line 36 of file af.c.

int flag_ipx = 0
 

Definition at line 31 of file af.c.

int flag_netrom = 0
 

Definition at line 34 of file af.c.

int flag_unx = 0
 

Definition at line 30 of file af.c.

struct aftype inet6_aftype
 

Definition at line 65 of file af.c.

struct aftype inet_aftype
 

Definition at line 64 of file af.c.

struct aftype ipx_aftype
 

Definition at line 68 of file af.c.

struct aftype netrom_aftype
 

Definition at line 67 of file af.c.

struct aftype unix_aftype
 

Definition at line 63 of file af.c.

struct aftype unspec_aftype
 

Definition at line 62 of file af.c.