Bug#718224: UDP_ENCAP kernel definition doesn't match userland

2013-07-29 Thread Robert Millan
2013/7/29 Steven Chamberlain ste...@pyro.eu.org: Some code appears to have possibly hardcoded a value of 100. And even NetBSD seems to have chosen that value. So I think we should simply change GNU/kFreeBSD to use 100 in the kernel. I don't foresee any breakage from such a change. This is

Bug#718224: UDP_ENCAP kernel definition doesn't match userland

2013-07-28 Thread Steven Chamberlain
Source: kfreebsd-9 Version: 9.0-10 libc0.1-dev defines UDP_ENCAP as 100 for userland. kFreeBSD however defines it as 0x01 in the netinet/udp.h used for kernel compilation. 32609 racoon CALL setsockopt(0x6,0x11,0x64,0x7fffd01c,0x4) 32609 racoon RET setsockopt -1 errno 42 Protocol