aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/genetlink.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/genetlink.h')
-rw-r--r--include/net/genetlink.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/net/genetlink.h b/include/net/genetlink.h
index 2010465fa7d4..797c18b5041f 100644
--- a/include/net/genetlink.h
+++ b/include/net/genetlink.h
@@ -150,6 +150,16 @@ static inline int genlmsg_unicast(struct sk_buff *skb, u32 pid)
150} 150}
151 151
152/** 152/**
153 * genlmsg_reply - reply to a request
154 * @skb: netlink message to be sent back
155 * @info: receiver information
156 */
157static inline int genlmsg_reply(struct sk_buff *skb, struct genl_info *info)
158{
159 return genlmsg_unicast(skb, info->snd_pid);
160}
161
162/**
153 * gennlmsg_data - head of message payload 163 * gennlmsg_data - head of message payload
154 * @gnlh: genetlink messsage header 164 * @gnlh: genetlink messsage header
155 */ 165 */