diff options
| author | Gleb Smirnoff <glebius@FreeBSD.org> | 2022-08-11 16:19:36 +0000 |
|---|---|---|
| committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2022-08-11 16:19:36 +0000 |
| commit | 36b10ac2cd18a535cac20ccf51e3fc6c408671e8 (patch) | |
| tree | 58260872c28b2c3197f6e059e8cf235190593e5c /sys/dev/netmap/netmap_monitor.c | |
| parent | d94ec7490d3182ef3ad0b572acf0feb9c0a6827f (diff) | |
rtsock: do not use raw socket code
This makes routing socket implementation self contained and removes one
of the last dependencies on the raw socket code and pr_output method.
There are very subtle API visible changes:
- now routing socket would return EOPNOTSUPP instead of EINVAL on
syscalls that are not supposed to be called on a routing socket.
- routing socket buffer sizes are now controlled by net.rtsock
sysctls instead of net.raw. The latter were not documented
anywhere, and even Internet search doesn't find any references
or discussions related to these sysctls.
Reviewed by: melifaro
Differential revision: https://reviews.freebsd.org/D36122
Diffstat (limited to 'sys/dev/netmap/netmap_monitor.c')
0 files changed, 0 insertions, 0 deletions
