[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_route.h

Go to the documentation of this file.
00001 /* snap service library                 */
00002 /* (c) Willem de Bruijn, 2002, 2003     */
00003 /* Licensed under the BSD License       */
00004 /* snap_svc_route library headerfile    */
00005 
00006 
00007 #ifndef SNAP_SVC_ROUTE_H
00008 #define SNAP_SVC_ROUTE_H
00009     
00010     /* definitions of snap service handlers */
00011     /* NB: this isn't really necessary, but can be helpful for library users */
00012 
00013     /* IMPORTANT : ip addresses are expected in network byte order (use htonl(..)) */
00014     int route_add(__u32 ip_dest, __u32 ip_mask, __u32 ip_gateway, char* device);
00015     int route_del(__u32 ip_dest, __u32 ip_mask, __u32 ip_gateway, char* device);
00016 
00017 #endif /* SNAP_SVC_ROUTE_H */