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

#include <netinet/ip.h>
#include <sys/socket.h>
#include <sys/types.h>
#include "io.h"
#include "packet.h"
#include "snap.h"
#include "d_printf.h"

Include dependency graph for snapnet.c:

Include dependency graph

Go to the source code of this file.


Defines

#define MAX_MTU   3924

Functions

int snap_recv_pkt (int sock, packet_t **p)

Variables

char pbuf [3 *MAX_MTU]

Define Documentation

#define MAX_MTU   3924
 

Definition at line 11 of file snapnet.c.


Function Documentation

int snap_recv_pkt int    sock,
packet_t **    p
 

Definition at line 15 of file snapnet.c.

References len, pbuf, and unmarshal_packet().

Referenced by handle_snap_request(), and snap_receive().


Variable Documentation

char pbuf[3 * MAX_MTU]
 

Definition at line 13 of file snapnet.c.

Referenced by snap_recv_pkt().