Lines Matching defs:reply

73 /* Check if need to build a reply message.
74 * OVS userspace sets the NLM_F_ECHO flag if it needs the reply. */
973 struct sk_buff *reply;
1031 reply = ovs_flow_cmd_alloc_info(acts, &new_flow->id, info, false,
1033 if (IS_ERR(reply)) {
1034 error = PTR_ERR(reply);
1060 if (unlikely(reply)) {
1063 reply, info->snd_portid,
1102 if (unlikely(reply)) {
1105 reply, info->snd_portid,
1117 if (reply)
1118 ovs_notify(&dp_flow_genl_family, reply, info);
1125 kfree_skb(reply);
1220 struct sk_buff *reply = NULL;
1244 reply = ovs_flow_cmd_alloc_info(acts, &sfid, info, false,
1246 if (IS_ERR(reply)) {
1247 error = PTR_ERR(reply);
1273 if (unlikely(reply)) {
1276 reply, info->snd_portid,
1284 reply = ovs_flow_cmd_build_info(flow, ovs_header->dp_ifindex,
1288 if (IS_ERR(reply)) {
1289 error = PTR_ERR(reply);
1299 if (reply)
1300 ovs_notify(&dp_flow_genl_family, reply, info);
1308 kfree_skb(reply);
1321 struct sk_buff *reply;
1360 reply = ovs_flow_cmd_build_info(flow, ovs_header->dp_ifindex, info,
1362 if (IS_ERR(reply)) {
1363 err = PTR_ERR(reply);
1368 return genlmsg_reply(reply, info);
1380 struct sk_buff *reply;
1423 reply = ovs_flow_cmd_alloc_info((const struct sw_flow_actions __force *) flow->sf_acts,
1425 if (likely(reply)) {
1426 if (!IS_ERR(reply)) {
1429 reply, info->snd_portid,
1435 kfree_skb(reply);
1439 ovs_notify(&dp_flow_genl_family, reply, info);
1442 PTR_ERR(reply));
1787 struct sk_buff *reply;
1797 reply = ovs_dp_cmd_alloc_info();
1798 if (!reply)
1860 err = ovs_dp_cmd_fill_info(dp, reply, info->snd_portid,
1869 ovs_notify(&dp_datapath_genl_family, reply, info);
1886 kfree_skb(reply);
1929 struct sk_buff *reply;
1933 reply = ovs_dp_cmd_alloc_info();
1934 if (!reply)
1944 err = ovs_dp_cmd_fill_info(dp, reply, info->snd_portid,
1951 ovs_notify(&dp_datapath_genl_family, reply, info);
1957 kfree_skb(reply);
1963 struct sk_buff *reply;
1967 reply = ovs_dp_cmd_alloc_info();
1968 if (!reply)
1982 err = ovs_dp_cmd_fill_info(dp, reply, info->snd_portid,
1987 ovs_notify(&dp_datapath_genl_family, reply, info);
1993 kfree_skb(reply);
1999 struct sk_buff *reply;
2003 reply = ovs_dp_cmd_alloc_info();
2004 if (!reply)
2014 err = ovs_dp_cmd_fill_info(dp, reply, info->snd_portid,
2019 return genlmsg_reply(reply, info);
2023 kfree_skb(reply);
2254 struct sk_buff *reply;
2275 reply = ovs_vport_cmd_alloc_info();
2276 if (!reply)
2319 err = ovs_vport_cmd_fill_info(vport, reply, genl_info_net(info),
2333 ovs_notify(&dp_vport_genl_family, reply, info);
2338 kfree_skb(reply);
2345 struct sk_buff *reply;
2349 reply = ovs_vport_cmd_alloc_info();
2350 if (!reply)
2380 err = ovs_vport_cmd_fill_info(vport, reply, genl_info_net(info),
2386 ovs_notify(&dp_vport_genl_family, reply, info);
2391 kfree_skb(reply);
2399 struct sk_buff *reply;
2405 reply = ovs_vport_cmd_alloc_info();
2406 if (!reply)
2420 err = ovs_vport_cmd_fill_info(vport, reply, genl_info_net(info),
2441 ovs_notify(&dp_vport_genl_family, reply, info);
2446 kfree_skb(reply);
2454 struct sk_buff *reply;
2458 reply = ovs_vport_cmd_alloc_info();
2459 if (!reply)
2467 err = ovs_vport_cmd_fill_info(vport, reply, genl_info_net(info),
2473 return genlmsg_reply(reply, info);
2477 kfree_skb(reply);