Next: 39.4 Sanity checking
Up: 39 Packet Dispatcher: liboskit_pd.a
Previous: 39.2 Example Use
This section describes some of the important restrictions
the packet dispatcher places on its use and future work:
-
Currently, the packet dispatcher uses the default netio
implementation which disallows writes to the packet bufio
objects. If modification of a packet is desired, a copy
must be made first. A better implementation would
leverage the OSKit IOLite interface.
-
A oskit_packet_dispatcher_destroy
call is needed.
-
Currently, only one netio is associated with each
type of packet. Multiple owners of packets could be established
by subclassing from this simple packet dispatcher and
extending the PID table (which is implemented as a hash
table) to either to hold multiple netio s in its
[key,value] pairs.
Utah Flux Research Group