#include "netlink.h"
#include "common.h"
#include "bitset.h"
struct privflags_req_info { … };
struct privflags_reply_data { … };
#define PRIVFLAGS_REPDATA(__reply_base) …
const struct nla_policy ethnl_privflags_get_policy[] = …;
static int ethnl_get_priv_flags_info(struct net_device *dev,
unsigned int *count,
const char (**names)[ETH_GSTRING_LEN])
{ … }
static int privflags_prepare_data(const struct ethnl_req_info *req_base,
struct ethnl_reply_data *reply_base,
const struct genl_info *info)
{ … }
static int privflags_reply_size(const struct ethnl_req_info *req_base,
const struct ethnl_reply_data *reply_base)
{ … }
static int privflags_fill_reply(struct sk_buff *skb,
const struct ethnl_req_info *req_base,
const struct ethnl_reply_data *reply_base)
{ … }
static void privflags_cleanup_data(struct ethnl_reply_data *reply_data)
{ … }
const struct nla_policy ethnl_privflags_set_policy[] = …;
static int
ethnl_set_privflags_validate(struct ethnl_req_info *req_info,
struct genl_info *info)
{ … }
static int
ethnl_set_privflags(struct ethnl_req_info *req_info, struct genl_info *info)
{ … }
const struct ethnl_request_ops ethnl_privflags_request_ops = …;