oskit/oskit-20020317/fudp
dzavalishin f85eb2576f import 2016-02-19 15:02:31 +03:00
..
GNUmakefile.in import 2016-02-19 15:02:31 +03:00
README import 2016-02-19 15:02:31 +03:00
arp.c import 2016-02-19 15:02:31 +03:00
eth.c import 2016-02-19 15:02:31 +03:00
fudp.h import 2016-02-19 15:02:31 +03:00
ip.c import 2016-02-19 15:02:31 +03:00
socket.c import 2016-02-19 15:02:31 +03:00

README

Directories: oskit/fudp
Target: liboskit_fudp.a
Documentation: [doc/fudp.tex - should be, but doesn't exist yet]
Original Code Source: Flux Research Group, University of Utah
Description: 
	A Fake UDP implementation.  It provides a simple send-only UDP
	interface without fragmentation.  Basically, only oskit_socket_sendto
	is provided.  

	This is useful for the H-PFQ link-sharing code and is used by
	examples/x86/hpfq_fudp.c.

	Notable holes in this implementation are:

		- It cannot send thru a gateway.  It expects the destination
		  to be on the local network.  This is not hard to fix:
		  just decide on an interface to obtain the netmask and gateway
		  address and fix 'sk_sendto' to send to the gateway if
		  needed.

		- It does not invoke the ARP protocol to map IP addresses to
		  ethernet addresses.  Instead it expects the caller of this
		  library to load our fake ARP table via 'farp_add'.