Date: Fri, 25 Mar 2005 11:03:16 -0500 (EST) From: dmehta@WPI.EDU To: freebsd-ipfw@freebsd.org Subject: Dummynet errors Message-ID: <42141.129.55.200.20.1111766596.squirrel@webmail.WPI.EDU>
next in thread | raw e-mail | index | archive | help
Hi all, I am trying to use Dummynet on a modified FreeBSD 4.8 kernel. I have loaded Dummynet in to the kernel; and yes, I've confirmed this using sysctl and dmesg. I can add pipes fine, but pipe config returns the following error: # ipfw list 65535 allow ip from any to any # ipfw add pipe 1 ip from any to tc-le3 00100 pipe 1 ip from any to 172.18.1.103 # ipfw pipe 1 config delay 100ms ipfw: setsockopt(IP_DUMMYNET_CONFIGURE): Invalid argument Now I tried debugging this and the error is invoked in ip_dummynet.c here: case IP_DUMMYNET_CONFIGURE : p = &tmp_pipe ; error = sooptcopyin(sopt, p, sizeof *p, sizeof *p); if (error) break ; error = config_pipe(p); break ; inside the sooptcopyin() call which returns an EINVAL. Any ideas on what I should be doing? Thanks! Devan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42141.129.55.200.20.1111766596.squirrel>