Date: Wed, 02 Aug 2000 19:54:23 +0900 From: itojun@iijlab.net To: Ping Pan <pingpan@research.bell-labs.com> Cc: freebsd-net@freebsd.org Subject: Re: Fwd: A new kernel extension to deal with IP option packets Message-ID: <20535.965213663@coconut.itojun.org> In-Reply-To: pingpan's message of Tue, 01 Aug 2000 21:56:29 -0400. <39877FCD.AC968B74@research.bell-labs.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>Hello, Itojun, > >I could not find you in IETF. So here is my response: after reading >through some of the FrreBSD kernel code on IPv6 and the RFC, it has the >same >problem as in IPv4. That is, the user needs to open a raw socket first >with a protocol family and a protocol type. Only then you may use >setsockopt() to receive the option that you want. This mechanism is >pretty much the same as in IPv4. > >The problem that we are trying to solve is to intercept the IP packets >*only* base on their IP option types. The protocol type is irrelevant >here. I don't see this is solved in IPv6 RFC and drafts. you mean router alert option? you may want to look at ip6_input(). there's some code in it. router alert option is standardized enough, and i don't think you need additional AF for it. itojun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20535.965213663>