Udp packet can now be delivered to the application and sent correctly.
authorDavid Zhu <yuzhu@cs.berkeley.edu>
Thu, 24 Mar 2011 00:29:00 +0000 (17:29 -0700)
committerDavid Zhu <yuzhu@cs.berkeley.edu>
Mon, 2 Apr 2012 22:03:28 +0000 (15:03 -0700)
commit55f62c86297ad6a1340782cb5deb56852b969a4f
tree62b554ad110bb811a92148b254b83315e1412fa4
parent70549d4fed6ad496c3ddb7db31f827c6d7325a4e
Udp packet can now be delivered to the application and sent correctly.

No protection for concurrency yet. Also the receiving is quite inefficient.
Need to allocate pbufs and reuse them effectively in the e1000 driver.
18 files changed:
kern/arch/i686/e1000.c
kern/arch/i686/e1000.h
kern/arch/i686/e1000_hw.h
kern/arch/i686/nic_common.c
kern/arch/i686/nic_common.h
kern/include/bits/netinet.h
kern/include/net.h
kern/include/net/ip.h
kern/include/net/pbuf.h
kern/include/net/udp.h
kern/include/socket.h
kern/src/eth_audio.c
kern/src/net.c
kern/src/net/ip.c
kern/src/net/pbuf.c
kern/src/net/udp.c
kern/src/socket.c
tests/udp_test.c