Socket infrastructure change and basic udp send.
authorDavid Zhu <yuzhu@cs.berkeley.edu>
Sat, 12 Mar 2011 05:49:22 +0000 (21:49 -0800)
committerDavid Zhu <yuzhu@cs.berkeley.edu>
Mon, 2 Apr 2012 22:03:28 +0000 (15:03 -0700)
commitc5d3c090bfa7d1612033fdc735b1da1f80b7f4f9
tree5adbf3edec628376786ec9878a3f5009acab47cb
parent2aa8100295eda1c214b30fffbccd550d289016b9
Socket infrastructure change and basic udp send.

Added a test program to test udp send.
Added support for mbuf like pbuf.
Added udp send functionality to e1000 and rl drivers.
Work in progress commit towards a basic working network system.
29 files changed:
kern/arch/i686/e1000.c
kern/arch/i686/e1000.h
kern/arch/i686/nic_common.c
kern/arch/i686/nic_common.h
kern/arch/i686/rl8168.c
kern/arch/i686/rl8168.h
kern/arch/i686/types.h
kern/include/bits/netinet.h
kern/include/net.h
kern/include/net/dev.h [new file with mode: 0644]
kern/include/net/ip.h [new file with mode: 0644]
kern/include/net/pbuf.h [new file with mode: 0644]
kern/include/net/udp.h [new file with mode: 0644]
kern/include/ros/bits/syscall.h
kern/include/ros/common.h
kern/include/socket.h [new file with mode: 0644]
kern/include/sys/uio.h [new file with mode: 0644]
kern/include/vfs.h
kern/src/Makefrag
kern/src/init.c
kern/src/net/ip.c [new file with mode: 0644]
kern/src/net/pbuf.c [new file with mode: 0644]
kern/src/net/udp.c [new file with mode: 0644]
kern/src/socket.c [new file with mode: 0644]
kern/src/syscall.c
tests/udp_test.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/recvfrom.c [new file with mode: 0644]
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/sendto.c [new file with mode: 0644]
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/socket.c