IP_NONLOCALOK improvements.

Kip Macy kmacy at freebsd.org
Wed May 27 05:45:39 UTC 2009


On Tue, May 26, 2009 at 6:55 AM, Pawel Jakub Dawidek <pjd at 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?


More information about the freebsd-arch mailing list