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

#include "config.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <netinet/in.h>
#include <net/if.h>
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <ctype.h>
#include "net-support.h"
#include "pathnames.h"
#include "version.h"
#include "interface.h"
#include "sockets.h"

Include dependency graph for interface.c:

Include dependency graph

Go to the source code of this file.


Functions

int if_fetch (char *ifname, struct interface *ife)

Variables

int procnetdev_vsn = 1

Function Documentation

int if_fetch char *    ifname,
struct interface   ife
 

Definition at line 145 of file interface.c.

References interface::addr, interface::broadaddr, ddp_sock, interface::ddpaddr, interface::dstaddr, ec_sock, interface::ecaddr, interface::flags, interface::has_ddp, interface::has_econet, interface::has_ipx_bb, interface::has_ipx_e2, interface::has_ipx_e3, interface::has_ipx_sn, interface::hwaddr, inet_sock, ipx_sock, interface::ipxaddr_bb, interface::ipxaddr_e2, interface::ipxaddr_e3, interface::ipxaddr_sn, interface::map, interface::metric, interface::mtu, interface::name, interface::netmask, interface::tx_queue_len, and interface::type.


Variable Documentation

int procnetdev_vsn = 1
 

Definition at line 37 of file interface.c.