net/netlink: Fix offset in rtattr. include/net/route.h: Correct form and naming of sruct rtentry. include/netpacket/netlink.h: Add some definitions that will be needed to access routing tables.

This commit is contained in:
Gregory Nutt
2019-11-10 12:35:15 -06:00
parent 800b08b2aa
commit bda0a9c6a7
7 changed files with 112 additions and 50 deletions
+2
View File
@@ -259,6 +259,8 @@
* aligned at an appropriate boundary so that pointers to it can be cast
* as pointers to protocol-specific address structures and used to access
* the fields of those structures without alignment problems.
*
* REVISIT: sizeof(struct sockaddr_storge) should be 128 bytes.
*/
#ifdef CONFIG_NET_IPv6