#include "netlink.h"
#include "common.h"
struct rings_req_info { … };
struct rings_reply_data { … };
#define RINGS_REPDATA(__reply_base) …
const struct nla_policy ethnl_rings_get_policy[] = …;
static int rings_prepare_data(const struct ethnl_req_info *req_base,
struct ethnl_reply_data *reply_base,
const struct genl_info *info)
{ … }
static int rings_reply_size(const struct ethnl_req_info *req_base,
const struct ethnl_reply_data *reply_base)
{ … }
static int rings_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_rings_set_policy[] = …;
static int
ethnl_set_rings_validate(struct ethnl_req_info *req_info,
struct genl_info *info)
{ … }
static int
ethnl_set_rings(struct ethnl_req_info *req_info, struct genl_info *info)
{ … }
const struct ethnl_request_ops ethnl_rings_request_ops = …;