mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
17083b94a9
Implement Netlink socket receive buffer as a simple TAILQ of nl_buf's,
same part of struct sockbuf that is used for send buffer already.
This shaves a lot of code and a lot of extra processing. The pcb rids
of the I/O queues as the socket buffer is exactly the queue. The
message writer is simplified a lot, as we now always deal with linear
buf. Notion of different buffer types goes away as way as different
kinds of writers. The only things remaining are: a socket writer and
a group writer.
The impact on the network stack is that we no longer use mbufs, so
a workaround from
|
||
---|---|---|
.. | ||
Makefile | ||
netlink_socket.c | ||
test_netlink_message_writer.py | ||
test_nl_core.py | ||
test_rtnl_iface.py | ||
test_rtnl_ifaddr.py | ||
test_rtnl_neigh.py | ||
test_rtnl_route.py | ||
test_snl.c | ||
test_snl_generic.c |