CVSROOT:        /cvs
Module name:    src
Changes by:     clau...@cvs.openbsd.org 2010/10/11 05:41:08

Modified files:
        sys/net        : route.h rtsock.c 

Log message:
Implement an rtsocket filter for rtableids. A process will initially
only get messages that are for the rtable the process is bound to.
Depending on the rtm_type the rdomain or rtable id are used for
comparison.  It is possible to change the filter with a setsockopt(s,
AF_ROUTE, ROUTE_TABLEFILTER,...) and if set to RTABLE_ANY the filter
is deactivated.  Additionally set the tableid in struct if_msghdr
to the rdomain id and use the process rtableid in the sysctl if no
table was specified.

OK henning@

Reply via email to