Change RANDOM_IP_ID to a sysctl
Gordon Bergling
gbergling at 0xfce3.net
Wed Aug 10 06:34:02 PDT 2005
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
More information about the Kernel
mailing list