Re: picking a new AF_* number for NETLINK ?

看板FB_current作者時間12年前 (2014/01/18 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/4 (看更多)
On Fri, Jan 17, 2014 at 7:57 AM, Alexander V. Chernikov < melifaro@freebsd.org> wrote: > On 17.01.2014 03:19, Luigi Rizzo wrote: > >> In porting the kernel openvswitch code to FreeBSD we >> have implemented netlink sockets, so we need to pick a >> > Wow, great! > How deep you're planning to go with netlink support? > > E.g. sockets with NETLINK_GENERIC OVS-related CMDs, or NETLINK_ROUTE (and > other families like FW) as well? > for the time being we focus on the ovs-related commands. Our initial prototype overloaded PF_ROUTE: if the first message on a socket carried a PF_NETLINK identifier then all subsequent i/o is routed to the netlink routines. However this required small changes to route.c so now we are going to do the real thing (using a PF_NETLINK domain). cheers luigi _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1IsM_WQr (FB_current)
文章代碼(AID): #1IsM_WQr (FB_current)