[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
|
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/src/snap_demux_handler.c File Reference#include <netinet/ip.h>
#include <unistd.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <ctype.h>
#include "../lib/d_printf.h"
#include "../lib/io.h"
#include "snap_demux_handler.h"
Include dependency graph for snap_demux_handler.c:
Go to the source code of this file.
Function Documentation
void snap_demux_buffer_noop |
( |
char * |
pbuf |
) |
|
|
void snap_demux_buffer_print |
( |
char * |
pbuf |
) |
|
|
void snap_demux_buffer_print_unsafe |
( |
char * |
pbuf |
) |
|
|
void snap_demux_close |
( |
|
) |
|
|
void snap_demux_close_rawip |
( |
|
) |
|
|
void snap_demux_close_udp |
( |
|
) |
|
|
void snap_demux_close_unix |
( |
|
) |
|
|
int snap_demux_init |
( |
int |
protocols |
) |
|
|
|
Definition at line 188 of file snap_demux_handler.c.
References d_printf(), fdset, max_filedes, protocols_internal, snap_demux_close(), snap_demux_init_rawip(), snap_demux_init_udp(), snap_demux_init_unix(), SNAP_RAWIP, SNAP_UDP, SNAP_UNIX, socket_rawip, socket_udp, and socket_unix.
Referenced by main(). |
int snap_demux_init_rawip |
( |
|
) |
|
|
int snap_demux_init_udp |
( |
|
) |
|
|
int snap_demux_init_unix |
( |
|
) |
|
|
|
Definition at line 251 of file snap_demux_handler.c.
References buffer_handler, d_printf_timed(), fdset, protocols_internal, snap_demux_receivefrom(), SNAP_RAWIP, SNAP_UDP, SNAP_UNIX, socket_rawip, socket_udp, and socket_unix.
Referenced by snap_demux_handler(). |
int snap_demux_receivefrom |
( |
int |
socket_waiting, |
|
|
buffer_handler |
active_handler |
|
) |
|
|
int snap_demux_select |
( |
|
) |
|
|
Variable Documentation
int protocols_internal = 0
|
|
|