route: Add support for route(4) message filtering.
authorRoy Marples <roy@marples.name>
Fri, 16 Aug 2019 15:39:35 +0000 (16:39 +0100)
committerRoy Marples <roy@marples.name>
Fri, 16 Aug 2019 15:39:35 +0000 (16:39 +0100)
commit8aeffa9f3b32ec4061b6573b6fca75507812a5f1
tree4fe89351361d06a295a6aa5b02cbbd67ecf9f8ed
parent168b29ce6255b12255d90205e380805a230a2192
route: Add support for route(4) message filtering.

This saves waking up listeners for messages they have no interest in.
It also helps to reduce the chance of a receive buffer overflow.

Taken-from: OpenBSD
Reviewd-by: sephe
share/man/man4/route.4
sys/net/raw_cb.h
sys/net/raw_usrreq.c
sys/net/route.h
sys/net/rtsock.c