Date: Tue, 26 May 2009 22:17:32 -0700 From: Kip Macy <kmacy@freebsd.org> To: Pawel Jakub Dawidek <pjd@freebsd.org> Cc: adrian@freebsd.org, trasz@freebsd.org, julian@elischer.org, freebsd-arch@freebsd.org Subject: Re: IP_NONLOCALOK improvements. Message-ID: <3c1674c90905262217k7a75b73fsab25c2ef93993e18@mail.gmail.com> In-Reply-To: <20090526135547.GE1491@garage.freebsd.pl> References: <20090526135547.GE1491@garage.freebsd.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 26, 2009 at 6:55 AM, Pawel Jakub Dawidek <pjd@freebsd.org> wrote: > Now that we have IP_NONLOCALOK IP socket option (which is something I > need a lot for my company's stuff) I started to hack on it a bit. > > OpenBSD has SO_BINDANY SOL_SOCKET option for some time now. So first of > all I wanted to do the same for FreeBSD. Unfortunately we ran out of > space in so_options - it is u_short and all possible values are already > taken. As a side note there is SO_NO_DDP option that is used only in > cxgb driver and nowhere else. This seems like a waste of very important > bit (sonner or later someone will need yet another socket option). Wouldn't now (before 8.0) be a good time to expand it beyond 16 bits rather than artificially restricting ourselves?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3c1674c90905262217k7a75b73fsab25c2ef93993e18>