simple reliable networking over ethernet. Provides IPv4 ARP, ICMP echo reply, and UDP unicast. Does NOT provide TCP, that's not simple :-).
Diff: snet.h
- Revision:
- 5:7ed0abcc02d1
- Parent:
- 4:8c34f9cc4ba1
- Child:
- 6:b45fde7a2919
--- a/snet.h Wed Apr 01 17:30:52 2015 +0000 +++ b/snet.h Wed Apr 01 18:42:55 2015 +0000 @@ -199,6 +199,8 @@ /** * Receive and process packets until none available + * @return the number of packets received on the interface, + * regardless of how they were addressed */ int rx_and_process_available_packets();