Lines Matching defs:reply

72 /* Check if need to build a reply message.
73 * OVS userspace sets the NLM_F_ECHO flag if it needs the reply. */
972 struct sk_buff *reply;
1030 reply = ovs_flow_cmd_alloc_info(acts, &new_flow->id, info, false,
1032 if (IS_ERR(reply)) {
1033 error = PTR_ERR(reply);
1059 if (unlikely(reply)) {
1062 reply, info->snd_portid,
1101 if (unlikely(reply)) {
1104 reply, info->snd_portid,
1116 if (reply)
1117 ovs_notify(&dp_flow_genl_family, reply, info);
1124 kfree_skb(reply);
1219 struct sk_buff *reply = NULL;
1243 reply = ovs_flow_cmd_alloc_info(acts, &sfid, info, false,
1245 if (IS_ERR(reply)) {
1246 error = PTR_ERR(reply);
1272 if (unlikely(reply)) {
1275 reply, info->snd_portid,
1283 reply = ovs_flow_cmd_build_info(flow, ovs_header->dp_ifindex,
1287 if (IS_ERR(reply)) {
1288 error = PTR_ERR(reply);
1298 if (reply)
1299 ovs_notify(&dp_flow_genl_family, reply, info);
1307 kfree_skb(reply);
1320 struct sk_buff *reply;
1359 reply = ovs_flow_cmd_build_info(flow, ovs_header->dp_ifindex, info,
1361 if (IS_ERR(reply)) {
1362 err = PTR_ERR(reply);
1367 return genlmsg_reply(reply, info);
1379 struct sk_buff *reply;
1422 reply = ovs_flow_cmd_alloc_info((const struct sw_flow_actions __force *) flow->sf_acts,
1424 if (likely(reply)) {
1425 if (!IS_ERR(reply)) {
1428 reply, info->snd_portid,
1434 kfree_skb(reply);
1438 ovs_notify(&dp_flow_genl_family, reply, info);
1441 PTR_ERR(reply));
1786 struct sk_buff *reply;
1796 reply = ovs_dp_cmd_alloc_info();
1797 if (!reply)
1859 err = ovs_dp_cmd_fill_info(dp, reply, info->snd_portid,
1868 ovs_notify(&dp_datapath_genl_family, reply, info);
1885 kfree_skb(reply);
1928 struct sk_buff *reply;
1932 reply = ovs_dp_cmd_alloc_info();
1933 if (!reply)
1943 err = ovs_dp_cmd_fill_info(dp, reply, info->snd_portid,
1950 ovs_notify(&dp_datapath_genl_family, reply, info);
1956 kfree_skb(reply);
1962 struct sk_buff *reply;
1966 reply = ovs_dp_cmd_alloc_info();
1967 if (!reply)
1981 err = ovs_dp_cmd_fill_info(dp, reply, info->snd_portid,
1986 ovs_notify(&dp_datapath_genl_family, reply, info);
1992 kfree_skb(reply);
1998 struct sk_buff *reply;
2002 reply = ovs_dp_cmd_alloc_info();
2003 if (!reply)
2013 err = ovs_dp_cmd_fill_info(dp, reply, info->snd_portid,
2018 return genlmsg_reply(reply, info);
2022 kfree_skb(reply);
2253 struct sk_buff *reply;
2274 reply = ovs_vport_cmd_alloc_info();
2275 if (!reply)
2318 err = ovs_vport_cmd_fill_info(vport, reply, genl_info_net(info),
2332 ovs_notify(&dp_vport_genl_family, reply, info);
2337 kfree_skb(reply);
2344 struct sk_buff *reply;
2348 reply = ovs_vport_cmd_alloc_info();
2349 if (!reply)
2379 err = ovs_vport_cmd_fill_info(vport, reply, genl_info_net(info),
2385 ovs_notify(&dp_vport_genl_family, reply, info);
2390 kfree_skb(reply);
2398 struct sk_buff *reply;
2404 reply = ovs_vport_cmd_alloc_info();
2405 if (!reply)
2419 err = ovs_vport_cmd_fill_info(vport, reply, genl_info_net(info),
2440 ovs_notify(&dp_vport_genl_family, reply, info);
2445 kfree_skb(reply);
2453 struct sk_buff *reply;
2457 reply = ovs_vport_cmd_alloc_info();
2458 if (!reply)
2466 err = ovs_vport_cmd_fill_info(vport, reply, genl_info_net(info),
2472 return genlmsg_reply(reply, info);
2476 kfree_skb(reply);