Hello. I am working in a kernel implementation. I try to pass argument from the user to the kernel.
I use a socket and the option: setsockopt(socket,IPPROTO_ICMPV6,ICMP6_REPORTAUTH,&ua,sizeof(ua)) in my program Server.c. I have defined ICMP6_REPORTAUTH in in6.h, and I have rebuil the kernel. #> make && make install But when I compile Serv: gcc -DICMP6_REPORTAUTH Server.c -o Serv I obtain Serv: setsockopt(ICMP6_REPORTAUTH): Invalid argument I have read in a articule that it must set in the kernel the option ..., IPPROTO_ICMPV6 in this case, but I do not how. If you know how or a better solution, please help me. Thanks a lot. Best Regards _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
