Commit Graph

29 Commits

Author SHA1 Message Date
pooka
c0f3dfaa52 Fix pointer assignment in previous commit (test compile works better
when you do it with the #defines which actually compile the code
in question).
2010-07-04 15:44:46 +00:00
pooka
54c71dee8c Use a bit more than 1 byte of space for routing messages. 2010-07-04 15:31:04 +00:00
pooka
977a0ef122 Dump rump kernel bootstrap time. 2010-05-31 23:13:17 +00:00
pooka
99d0de7a5e Remove bpf modload code. With the current state of affairs, the
kernel module either be autoloaded from the host or the kernel
module ABI is not supported on the given arch.
2010-04-30 21:05:52 +00:00
pooka
ffdaceb3e7 * add comment explaining why we randomize the last source ip octet
* fix bug in randomization (well, at least with the current configuration ..)
2010-01-29 12:34:17 +00:00
martti
40b313cfaa Use tabs instead of 8 spaces. 2010-01-27 13:30:45 +00:00
pooka
c52d5453ad support bpf from sockin too (i.e. DLT_NULL/AF_UNSPEC) 2010-01-26 17:52:21 +00:00
pooka
daa3b2e4c7 need rumpvfs for etfs_register() and sys_mknod() 2010-01-25 22:26:19 +00:00
pooka
d70c91c8de In case opening /dev/bpf fails, try to load bpf kmod and try again. 2010-01-25 22:25:38 +00:00
pooka
89a3fc440c Add components necessary for bpf support (commented out just for
the sheer heck of it).
2010-01-19 22:47:46 +00:00
pooka
23a987d2a2 Make build with PF_INET-is-the-"NIC" support again. 2010-01-19 17:51:03 +00:00
pooka
fe3e79c05a * add option to use bpf to dump response
* randomize local address to avoid poor confused peers due to us
  "rebooting" quite rapidly when testing.
2010-01-16 20:47:01 +00:00
pooka
435aa34303 print mbuf statistics a few times. incidentally, can be used to
test percpu.
2010-01-15 18:38:16 +00:00
pooka
02a39de4a7 fix sign-compare warnings 2009-10-20 00:25:26 +00:00
pooka
a9cd93a788 use rump_pub 2009-10-14 19:14:39 +00:00
pooka
aa022ebd2b This wasn't supposed to go in -- the tree is under temporary
component boundary breakage.
2009-10-14 17:34:08 +00:00
pooka
42972db848 Adjust rump sources for external/internal interfaces.
No functional change.
2009-10-14 17:29:19 +00:00
pooka
06dceb4d08 * make interface creation open /dev/tapn for interface n
* create "unique" enaddr
* do send in async context
2009-03-27 13:46:34 +00:00
pooka
d9c038d4fe Adjust for explicit errno parameter removal from rump syscalls 2009-01-23 19:36:01 +00:00
pooka
2a4d5485f0 Now that SO_RCVTIMEO is versioned, we don't need the timeval hack
here anymore.
2009-01-23 19:07:17 +00:00
pooka
026ac4657f rump_sys___socket30 -> rump_sys_socket 2009-01-13 22:35:57 +00:00
pooka
c6f986a4ea WARNS=4 2009-01-13 18:51:41 +00:00
pooka
ee5fe9ff45 fix inet library name 2009-01-13 02:07:30 +00:00
pooka
e6f5280c8d Add comments on how to do tap and bridging required for sensible
full networking stack operation.
2008-11-14 14:24:00 +00:00
pooka
1941578e57 slap some sort of copyright here 2008-11-14 14:17:53 +00:00
pooka
6d68e64d68 Add an example of how to configure the virtual interface address
and the default gateway.

(this will probably go into some library eventually, but now it'll
just sit here as an example)
2008-10-16 19:28:26 +00:00
pooka
edfec78484 add -lrumpnet 2008-10-15 13:11:45 +00:00
pooka
ba12d8328e Call rump_sys_setsockopt(SO_RCVTIMEO) for el-cheapo "async" socket i/o. 2008-10-15 11:45:35 +00:00
pooka
8a7a4b8184 Add a simple example of how to use rump networking facilities.
This just contacts www.NetBSD.org, does GET / and displays the
result.

It either uses the host kernel socket provided PF_INET or the kernel
TCP/IP stack running in userspace (via if_virt and /dev/tap),
depending on the libraries it's linked with.

(not built yet, as I need to commit some more bits from my local
tree for it work)
2008-10-14 00:56:24 +00:00