#include "netlink.h"
#include "common.h"
#include "bitset.h"
struct wol_req_info { … };
struct wol_reply_data { … };
#define WOL_REPDATA(__reply_base) …
const struct nla_policy ethnl_wol_get_policy[] = …;
static int wol_prepare_data(const struct ethnl_req_info *req_base,
struct ethnl_reply_data *reply_base,
const struct genl_info *info)
{ … }
static int wol_reply_size(const struct ethnl_req_info *req_base,
const struct ethnl_reply_data *reply_base)
{ … }
static int wol_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_wol_set_policy[] = …;
static int
ethnl_set_wol_validate(struct ethnl_req_info *req_info, struct genl_info *info)
{ … }
static int
ethnl_set_wol(struct ethnl_req_info *req_info, struct genl_info *info)
{ … }
const struct ethnl_request_ops ethnl_wol_request_ops = …;