Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jan 2010 06:50:49 +0000 (UTC)
From:      Kip Macy <kmacy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r201418 - user/kmacy/releng_8_rump/lib/libunet
Message-ID:  <201001030650.o036onDG094522@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kmacy
Date: Sun Jan  3 06:50:49 2010
New Revision: 201418
URL: http://svn.freebsd.org/changeset/base/201418

Log:
  - create library for user level networking
  - create empty opt headers for now

Added:
  user/kmacy/releng_8_rump/lib/libunet/
  user/kmacy/releng_8_rump/lib/libunet/Makefile   (contents, props changed)
  user/kmacy/releng_8_rump/lib/libunet/bus_if.h   (contents, props changed)
  user/kmacy/releng_8_rump/lib/libunet/device_if.h   (contents, props changed)
  user/kmacy/releng_8_rump/lib/libunet/opt_atalk.h   (contents, props changed)
  user/kmacy/releng_8_rump/lib/libunet/opt_bootp.h   (contents, props changed)
  user/kmacy/releng_8_rump/lib/libunet/opt_carp.h   (contents, props changed)
  user/kmacy/releng_8_rump/lib/libunet/opt_compat.h   (contents, props changed)
  user/kmacy/releng_8_rump/lib/libunet/opt_ddb.h   (contents, props changed)
  user/kmacy/releng_8_rump/lib/libunet/opt_device_polling.h   (contents, props changed)
  user/kmacy/releng_8_rump/lib/libunet/opt_inet.h   (contents, props changed)
  user/kmacy/releng_8_rump/lib/libunet/opt_inet6.h   (contents, props changed)
  user/kmacy/releng_8_rump/lib/libunet/opt_ipfw.h   (contents, props changed)
  user/kmacy/releng_8_rump/lib/libunet/opt_ipsec.h   (contents, props changed)
  user/kmacy/releng_8_rump/lib/libunet/opt_ipstealth.h   (contents, props changed)
  user/kmacy/releng_8_rump/lib/libunet/opt_ipx.h   (contents, props changed)
  user/kmacy/releng_8_rump/lib/libunet/opt_mbuf_profiling.h   (contents, props changed)
  user/kmacy/releng_8_rump/lib/libunet/opt_mbuf_stress_test.h   (contents, props changed)
  user/kmacy/releng_8_rump/lib/libunet/opt_mpath.h   (contents, props changed)
  user/kmacy/releng_8_rump/lib/libunet/opt_mrouting.h   (contents, props changed)
  user/kmacy/releng_8_rump/lib/libunet/opt_param.h   (contents, props changed)
  user/kmacy/releng_8_rump/lib/libunet/opt_pf.h   (contents, props changed)
  user/kmacy/releng_8_rump/lib/libunet/opt_route.h   (contents, props changed)
  user/kmacy/releng_8_rump/lib/libunet/opt_sctp.h   (contents, props changed)
  user/kmacy/releng_8_rump/lib/libunet/opt_tcpdebug.h   (contents, props changed)
  user/kmacy/releng_8_rump/lib/libunet/opt_zero.h   (contents, props changed)

Added: user/kmacy/releng_8_rump/lib/libunet/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ user/kmacy/releng_8_rump/lib/libunet/Makefile	Sun Jan  3 06:50:49 2010	(r201418)
@@ -0,0 +1,74 @@
+
+PREFIX= ${.CURDIR}/../../sys
+
+.PATH: ${PREFIX}/kern
+.PATH: ${PREFIX}/net
+.PATH: ${PREFIX}/netinet
+
+LIB=	unet
+
+UNET_KERN_COMMON_OBJS +=	\
+	kern_mbuf.o		\
+	uipc_mbuf.o		\
+	uipc_mbuf2.o		\
+	uipc_sockbuf.o		\
+	uipc_socket.o
+
+UNET_NET_COMMON_OBJS +=		\
+	if.o			\
+	if_loop.o		\
+	netisr.o		\
+	radix.o			\
+	route.o			\
+	rtsock.o		
+
+UNET_NETINET_COMMON_OBJS +=	\
+	if_ether.o		\
+	in.o			\
+	in_cksum.o		\
+	in_pcb.o		\
+	in_proto.o		\
+	in_rmx.o		\
+	ip_icmp.o		\
+	ip_id.o			\
+	ip_input.o		\
+	ip_options.o		\
+	ip_output.o		\
+	raw_ip.o		\
+	tcp_debug.o		\
+	tcp_hostcache.o		\
+	tcp_input.o		\
+	tcp_lro.o		\
+	tcp_offload.o		\
+	tcp_output.o		\
+	tcp_reass.o		\
+	tcp_sack.o		\
+	tcp_subr.o		\
+	tcp_syncache.o		\
+	tcp_timer.o		\
+	tcp_timewait.o		\
+	tcp_usrreq.o		\
+	udp_usrreq.o
+
+UNET_GLUE_COMMON_OBJS =		\
+	unet_init.o		\
+	unet_uipc_syscalls.o
+
+
+UNET_COMMON_OBJS =			\
+	${UNET_KERN_COMMON_OBJS}	\
+	${UNET_NET_COMMON_OBJS}		\
+	${UNET_NETINET_COMMON_OBJS}	
+
+UNET_COMMON_SRCS= ${UNET_COMMON_OBJS:C/.o$/.c/}
+
+SRCS=	${UNET_COMMON_SRCS}
+
+CFLAGS+=	-I${PREFIX}
+CFLAGS+=	-I.
+CFLAGS+=	-D_KERNEL
+CFLAGS+=	-fno-builtin
+
+.include <bsd.lib.mk>
+
+

Added: user/kmacy/releng_8_rump/lib/libunet/bus_if.h
==============================================================================

Added: user/kmacy/releng_8_rump/lib/libunet/device_if.h
==============================================================================

Added: user/kmacy/releng_8_rump/lib/libunet/opt_atalk.h
==============================================================================

Added: user/kmacy/releng_8_rump/lib/libunet/opt_bootp.h
==============================================================================

Added: user/kmacy/releng_8_rump/lib/libunet/opt_carp.h
==============================================================================

Added: user/kmacy/releng_8_rump/lib/libunet/opt_compat.h
==============================================================================

Added: user/kmacy/releng_8_rump/lib/libunet/opt_ddb.h
==============================================================================

Added: user/kmacy/releng_8_rump/lib/libunet/opt_device_polling.h
==============================================================================

Added: user/kmacy/releng_8_rump/lib/libunet/opt_inet.h
==============================================================================

Added: user/kmacy/releng_8_rump/lib/libunet/opt_inet6.h
==============================================================================

Added: user/kmacy/releng_8_rump/lib/libunet/opt_ipfw.h
==============================================================================

Added: user/kmacy/releng_8_rump/lib/libunet/opt_ipsec.h
==============================================================================

Added: user/kmacy/releng_8_rump/lib/libunet/opt_ipstealth.h
==============================================================================

Added: user/kmacy/releng_8_rump/lib/libunet/opt_ipx.h
==============================================================================

Added: user/kmacy/releng_8_rump/lib/libunet/opt_mbuf_profiling.h
==============================================================================

Added: user/kmacy/releng_8_rump/lib/libunet/opt_mbuf_stress_test.h
==============================================================================

Added: user/kmacy/releng_8_rump/lib/libunet/opt_mpath.h
==============================================================================

Added: user/kmacy/releng_8_rump/lib/libunet/opt_mrouting.h
==============================================================================

Added: user/kmacy/releng_8_rump/lib/libunet/opt_param.h
==============================================================================

Added: user/kmacy/releng_8_rump/lib/libunet/opt_pf.h
==============================================================================

Added: user/kmacy/releng_8_rump/lib/libunet/opt_route.h
==============================================================================

Added: user/kmacy/releng_8_rump/lib/libunet/opt_sctp.h
==============================================================================

Added: user/kmacy/releng_8_rump/lib/libunet/opt_tcpdebug.h
==============================================================================

Added: user/kmacy/releng_8_rump/lib/libunet/opt_zero.h
==============================================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001030650.o036onDG094522>