DragonFly BSD
DragonFly kernel List (threaded) for 2005-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Change RANDOM_IP_ID to a sysctl


From: Gordon Bergling <gbergling@xxxxxxxxxx>
Date: Wed, 10 Aug 2005 15:29:19 +0200

Hi,

I currently try to change the kernel option RANDOM_IP_ID into a
sysctl. That was done in FreeBSD and NetBSD a while ago.

I have a created a basic patch, which can be found at
http://generic.0xfce3.net/dragonflybsd/20050810-randomipid.patch

Now to the problems.

I tried to compile a kernel (HEAD) with this patch, but in the linking stage
I get the following errors:

| linking kernel.debug
| ip_output.o(.text+0x1da): In function `ip_output':
| /home/gordon/src/ipid/d-sys/src/sys/netinet/ip_var.h:227: undefined reference to `ip_do_randomid'
| raw_ip.o(.text+0x448): In function `rip_output':
| /home/gordon/src/ipid/d-sys/src/sys/netinet/ip_var.h:227: undefined reference to `ip_do_randomid'
| *** Error code 1


Has anyone a hint how I could solve this?


best regards,


Gordon




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]