H A D | datapath.c | 385 size_t size = NLMSG_ALIGN(sizeof(struct ovs_header)) upcall_msg_size() 404 struct ovs_header *upcall; queue_userspace_packet() 512 struct ovs_header *ovs_header = info->userhdr; ovs_packet_cmd_execute() local 572 dp = get_dp_rcu(sock_net(skb->sk), ovs_header->dp_ifindex); ovs_packet_cmd_execute() 622 .hdrsize = sizeof(struct ovs_header), 683 size_t len = NLMSG_ALIGN(sizeof(struct ovs_header)); ovs_flow_cmd_msg_size() 778 struct ovs_header *ovs_header; ovs_flow_cmd_fill_info() local 781 ovs_header = genlmsg_put(skb, portid, seq, &dp_flow_genl_family, ovs_flow_cmd_fill_info() 783 if (!ovs_header) ovs_flow_cmd_fill_info() 786 ovs_header->dp_ifindex = dp_ifindex; ovs_flow_cmd_fill_info() 814 genlmsg_end(skb, ovs_header); ovs_flow_cmd_fill_info() 818 genlmsg_cancel(skb, ovs_header); ovs_flow_cmd_fill_info() 867 struct ovs_header *ovs_header = info->userhdr; ovs_flow_cmd_new() local 930 dp = get_dp(sock_net(skb->sk), ovs_header->dp_ifindex); ovs_flow_cmd_new() 953 ovs_header->dp_ifindex, ovs_flow_cmd_new() 995 ovs_header->dp_ifindex, ovs_flow_cmd_new() 1047 struct ovs_header *ovs_header = info->userhdr; ovs_flow_cmd_set() local 1094 dp = get_dp(sock_net(skb->sk), ovs_header->dp_ifindex); ovs_flow_cmd_set() 1116 ovs_header->dp_ifindex, ovs_flow_cmd_set() 1125 reply = ovs_flow_cmd_build_info(flow, ovs_header->dp_ifindex, ovs_flow_cmd_set() 1159 struct ovs_header *ovs_header = info->userhdr; ovs_flow_cmd_get() local 1185 dp = get_dp(sock_net(skb->sk), ovs_header->dp_ifindex); ovs_flow_cmd_get() 1200 reply = ovs_flow_cmd_build_info(flow, ovs_header->dp_ifindex, info, ovs_flow_cmd_get() 1217 struct ovs_header *ovs_header = info->userhdr; ovs_flow_cmd_del() local 1239 dp = get_dp(sock_net(skb->sk), ovs_header->dp_ifindex); ovs_flow_cmd_del() 1267 err = ovs_flow_cmd_fill_info(flow, ovs_header->dp_ifindex, ovs_flow_cmd_del() 1291 struct ovs_header *ovs_header = genlmsg_data(nlmsg_data(cb->nlh)); ovs_flow_cmd_dump() local 1304 dp = get_dp_rcu(sock_net(skb->sk), ovs_header->dp_ifindex); ovs_flow_cmd_dump() 1321 if (ovs_flow_cmd_fill_info(flow, ovs_header->dp_ifindex, skb, ovs_flow_cmd_dump() 1370 .hdrsize = sizeof(struct ovs_header), 1384 size_t msgsize = NLMSG_ALIGN(sizeof(struct ovs_header)); ovs_dp_cmd_msg_size() 1398 struct ovs_header *ovs_header; ovs_dp_cmd_fill_info() local 1403 ovs_header = genlmsg_put(skb, portid, seq, &dp_datapath_genl_family, ovs_dp_cmd_fill_info() 1405 if (!ovs_header) ovs_dp_cmd_fill_info() 1408 ovs_header->dp_ifindex = get_dpifindex(dp); ovs_dp_cmd_fill_info() 1427 genlmsg_end(skb, ovs_header); ovs_dp_cmd_fill_info() 1431 genlmsg_cancel(skb, ovs_header); ovs_dp_cmd_fill_info() 1443 const struct ovs_header *ovs_header, lookup_datapath() 1449 dp = get_dp(net, ovs_header->dp_ifindex); lookup_datapath() 1756 .hdrsize = sizeof(struct ovs_header), 1772 struct ovs_header *ovs_header; ovs_vport_cmd_fill_info() local 1776 ovs_header = genlmsg_put(skb, portid, seq, &dp_vport_genl_family, ovs_vport_cmd_fill_info() 1778 if (!ovs_header) ovs_vport_cmd_fill_info() 1781 ovs_header->dp_ifindex = get_dpifindex(vport->dp); ovs_vport_cmd_fill_info() 1801 genlmsg_end(skb, ovs_header); ovs_vport_cmd_fill_info() 1807 genlmsg_cancel(skb, ovs_header); ovs_vport_cmd_fill_info() 1835 const struct ovs_header *ovs_header, lookup_vport() 1845 if (ovs_header->dp_ifindex && lookup_vport() 1846 ovs_header->dp_ifindex != get_dpifindex(vport->dp)) lookup_vport() 1855 dp = get_dp(net, ovs_header->dp_ifindex); lookup_vport() 1870 struct ovs_header *ovs_header = info->userhdr; ovs_vport_cmd_new() local 1893 dp = get_dp(sock_net(skb->sk), ovs_header->dp_ifindex); ovs_vport_cmd_new() 2036 struct ovs_header *ovs_header = info->userhdr; ovs_vport_cmd_get() local 2046 vport = lookup_vport(sock_net(skb->sk), ovs_header, a); ovs_vport_cmd_get() 2065 struct ovs_header *ovs_header = genlmsg_data(nlmsg_data(cb->nlh)); ovs_vport_cmd_dump() local 2071 dp = get_dp_rcu(sock_net(skb->sk), ovs_header->dp_ifindex); ovs_vport_cmd_dump() 2137 .hdrsize = sizeof(struct ovs_header), 1442 lookup_datapath(struct net *net, const struct ovs_header *ovs_header, struct nlattr *a[OVS_DP_ATTR_MAX + 1]) lookup_datapath() argument 1834 lookup_vport(struct net *net, const struct ovs_header *ovs_header, struct nlattr *a[OVS_VPORT_ATTR_MAX + 1]) lookup_vport() argument
|