summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2010-10-11 11:41:08 +0000
committerclaudio <claudio@openbsd.org>2010-10-11 11:41:08 +0000
commit9ed4896ec5b9f72115e1728eba6ef1420875f692 (patch)
treebacc6fdef7d6e8203096257cb7b8830f17dd9df9 /sys/dev/softraid.c
parentRemove some commented code we will never have. (diff)
downloadwireguard-openbsd-9ed4896ec5b9f72115e1728eba6ef1420875f692.tar.xz
wireguard-openbsd-9ed4896ec5b9f72115e1728eba6ef1420875f692.zip
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@
Diffstat (limited to 'sys/dev/softraid.c')
0 files changed, 0 insertions, 0 deletions