Main Page | Class List | File List | Class Members | File Members | Related Pages

src/example/dispatch.c File Reference

Example dispatcher routine for received packets. More...

#include <otto/packet.h>
#include <otto/data.h>

Functions

const char _ID_[] __attribute__ ((unused))="$Id: dispatch.c,v 1.4 2004/07/07 16:14:01 alpha Exp $"
void dispatch (union otto_packet pkt, int flags)
void dispatch_single (union otto_packet pkt, int size)
void dispatch_three (union otto_packet pkt, int size)


Detailed Description

Example dispatcher routine for received packets.


Function Documentation

const char _ID_ [] __attribute__ (unused)   )  [static]
 

void dispatch union otto_packet  pkt,
int  flags
 

Parameters:
pkt  raw network packet
flags  mode flags for dispatch (single or three byte header, others?)

void dispatch_single union otto_packet  pkt,
int  size
 

void dispatch_three union otto_packet  pkt,
int  size
 


Generated on Thu Jul 8 19:26:07 2004 for OpenOtto by doxygen 1.3.7