diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2019-12-20 11:23:05 +0100 | 
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2021-04-30 10:33:18 +0200 | 
| commit | aea6c49e01afccb68a6559832dd74924e13b8e61 (patch) | |
| tree | 1a36c71a49c3f5e119d31fa73cdf825ec324a0e7 /include | |
| parent | 7f48cfa5e4d93bb8899e0eb815074741df3c8177 (diff) | |
nhrpd: cleaning netlink gre information
flush netlink related dependencies with gre information.
Add some linux headers required to compile with it.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/if_packet.h | 16 | 
1 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/if_packet.h b/include/linux/if_packet.h new file mode 100644 index 0000000000..057edb33dc --- /dev/null +++ b/include/linux/if_packet.h @@ -0,0 +1,16 @@ +#ifndef __LINUX_IF_PACKET_H +#define __LINUX_IF_PACKET_H + +#include <linux/types.h> + +struct sockaddr_ll { +	unsigned short sll_family; +	__be16 sll_protocol; +	int sll_ifindex; +	unsigned short sll_hatype; +	unsigned char sll_pkttype; +	unsigned char sll_halen; +	unsigned char sll_addr[8]; +}; + +#endif  | 
