#include "netlink.h"
#include "common.h"
struct linkinfo_req_info { … };
struct linkinfo_reply_data { … };
#define LINKINFO_REPDATA(__reply_base) …
const struct nla_policy ethnl_linkinfo_get_policy[] = …;
static int linkinfo_prepare_data(const struct ethnl_req_info *req_base,
struct ethnl_reply_data *reply_base,
const struct genl_info *info)
{ … }
static int linkinfo_reply_size(const struct ethnl_req_info *req_base,
const struct ethnl_reply_data *reply_base)
{ … }
static int linkinfo_fill_reply(struct sk_buff *skb,
const struct ethnl_req_info *req_base,
const struct ethnl_reply_data *reply_base)
{ … }
const struct nla_policy ethnl_linkinfo_set_policy[] = …;
static int
ethnl_set_linkinfo_validate(struct ethnl_req_info *req_info,
struct genl_info *info)
{ … }
static int
ethnl_set_linkinfo(struct ethnl_req_info *req_info, struct genl_info *info)
{ … }
const struct ethnl_request_ops ethnl_linkinfo_request_ops = …;