On 9/7/12 8:48 AM, "Julian Elischer" <[email protected]> wrote:
>>>> struct socket {
>>>>
>>>>    int so_fibnum;          /* routing domain for this socket */
>>>>    uint32_t so_user_cookie;
>>>> +  u_int   so_oqueue;     /* manage send prioritizing based on
>>>> application
>>>> needs */
>>>> +  u_short so_lrid;     /* logical routing */
>>>> };
>>>>
>>>
>We have the second one with the SETFIB socket option, which allows
>a socket to select the routing instance (fib) to use.
>
>it's in the diff, 3 lines up.
Thanks Julian. I had wondered if our usage of so_lrid was different enough
to justify another field, primarily because I wasn't sure about potential
clash with setfib() for the process (since Junos doesn't use it). Having
looked a bit more into setfib() after your comment, it looks ok for Junos
to use so_fibnum. I'll remove so_lrid from our diff.

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[email protected]"

Reply via email to