|
@@ -27,8 +27,6 @@
|
|
|
|
|
|
#define MAX_LINKS 32
|
|
#define MAX_LINKS 32
|
|
|
|
|
|
-struct net;
|
|
|
|
-
|
|
|
|
struct sockaddr_nl {
|
|
struct sockaddr_nl {
|
|
sa_family_t nl_family; /* AF_NETLINK */
|
|
sa_family_t nl_family; /* AF_NETLINK */
|
|
unsigned short nl_pad; /* zero */
|
|
unsigned short nl_pad; /* zero */
|
|
@@ -151,6 +149,8 @@ struct nlattr {
|
|
#include <linux/capability.h>
|
|
#include <linux/capability.h>
|
|
#include <linux/skbuff.h>
|
|
#include <linux/skbuff.h>
|
|
|
|
|
|
|
|
+struct net;
|
|
|
|
+
|
|
static inline struct nlmsghdr *nlmsg_hdr(const struct sk_buff *skb)
|
|
static inline struct nlmsghdr *nlmsg_hdr(const struct sk_buff *skb)
|
|
{
|
|
{
|
|
return (struct nlmsghdr *)skb->data;
|
|
return (struct nlmsghdr *)skb->data;
|