[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_svc/snap_svc_if.h File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.


Data Structures

struct  snap_svc_ifip_item

Functions

int if_get_interface_count (void *useless)
char * if_get_interface_name (int dIfNo)
int if_getiface (const char *strIfName, int flag)
int if_getiface_up (const char *strIfName)
int if_setiface (const char *strIfName, int flag, int state)
int if_setiface_up (const char *strIfName, int state)
uint32_t if_getnexthop (uint32_t incoming_ip)
void if_getallneighbours (uint32_t incoming_ip)
int snap_svc_ifip_init ()

Function Documentation

int if_get_interface_count void *    useless
 

Definition at line 174 of file snap_svc_if.c.

References d_printf().

Referenced by snap_external_svclib_getnextfunc().

char* if_get_interface_name int    dIfNo
 

Definition at line 201 of file snap_svc_if.c.

References d_printf().

Referenced by snap_external_svclib_getnextfunc().

void if_getallneighbours uint32_t    incoming_ip
 

Definition at line 401 of file snap_svc_if.c.

References snap_svc_ifip_item::addr, d_printf(), svc_returnitem::data, if_gethopfromiface(), if_getifaceidx(), if_getnextiface(), svc_returnstruct::length, svc_returnstruct::list, snap_external_svclib_free_local_returnstruct(), svc_return, SVC_SNMP_TYPE_ADDR, and svc_returnitem::type.

Referenced by snap_external_svclib_getnextfunc().

int if_getiface const char *    strIfName,
int    flag
 

Definition at line 225 of file snap_svc_if.c.

References d_printf().

Referenced by if_getiface_up(), and snap_external_svclib_getnextfunc().

int if_getiface_up const char *    strIfName
 

Definition at line 242 of file snap_svc_if.c.

References if_getiface().

Referenced by if_setiface(), and snap_external_svclib_getnextfunc().

uint32_t if_getnexthop uint32_t    incoming_ip
 

Definition at line 392 of file snap_svc_if.c.

References if_gethopfromiface(), and if_getoutiface().

Referenced by snap_external_svclib_getnextfunc().

int if_setiface const char *    strIfName,
int    flag,
int    state
 

Definition at line 248 of file snap_svc_if.c.

References d_printf(), and if_getiface_up().

Referenced by if_setiface_up(), and snap_external_svclib_getnextfunc().

int if_setiface_up const char *    strIfName,
int    state
 

Definition at line 273 of file snap_svc_if.c.

References if_setiface().

Referenced by snap_external_svclib_getnextfunc().

int snap_svc_ifip_init  
 

Definition at line 109 of file snap_svc_if.c.

References d_printf(), snap_svc_ifip_item::if_index, snap_svc_if_count, and snap_svc_if_maxidx.

Referenced by if_getoutiface(), and snap_external_svclib_init().