Lines Matching defs:info
210 ovs_meter_cmd_reply_start(struct genl_info *info, u8 cmd,
214 struct ovs_header *ovs_header = genl_info_userhdr(info);
220 *ovs_reply_header = genlmsg_put(skb, info->snd_portid,
221 info->snd_seq,
273 static int ovs_meter_cmd_features(struct sk_buff *skb, struct genl_info *info)
275 struct ovs_header *ovs_header = genl_info_userhdr(info);
282 reply = ovs_meter_cmd_reply_start(info, OVS_METER_CMD_FEATURES,
317 return genlmsg_reply(reply, info);
406 static int ovs_meter_cmd_set(struct sk_buff *skb, struct genl_info *info)
408 struct nlattr **a = info->attrs;
412 struct ovs_header *ovs_header = genl_info_userhdr(info);
426 reply = ovs_meter_cmd_reply_start(info, OVS_METER_CMD_SET,
471 return genlmsg_reply(reply, info);
483 static int ovs_meter_cmd_get(struct sk_buff *skb, struct genl_info *info)
485 struct ovs_header *ovs_header = genl_info_userhdr(info);
487 struct nlattr **a = info->attrs;
499 reply = ovs_meter_cmd_reply_start(info, OVS_METER_CMD_GET,
528 return genlmsg_reply(reply, info);
536 static int ovs_meter_cmd_del(struct sk_buff *skb, struct genl_info *info)
538 struct ovs_header *ovs_header = genl_info_userhdr(info);
540 struct nlattr **a = info->attrs;
550 reply = ovs_meter_cmd_reply_start(info, OVS_METER_CMD_DEL,
579 return genlmsg_reply(reply, info);