Family名称 | .name | .ops |
dp_datapath_genl_family | -
static struct genl_family dp_datapath_genl_family = { -
-
.hdrsize = sizeof(struct ovs_header), -
.name = OVS_DATAPATH_FAMILY, -
.version = OVS_DATAPATH_VERSION, -
.maxattr = OVS_DP_ATTR_MAX, -
-
-
.ops = dp_datapath_genl_ops, -
.n_ops = ARRAY_SIZE(dp_datapath_genl_ops), -
.mcgrps = &ovs_dp_datapath_multicast_group, -
-
| -
static struct genl_ops dp_datapath_genl_ops[] = { -
-
.flags = GENL_ADMIN_PERM, /* Requires CAP_NET_ADMIN privilege. */ -
.policy = datapath_policy, -
-
-
-
.flags = GENL_ADMIN_PERM, /* Requires CAP_NET_ADMIN privilege. */ -
.policy = datapath_policy, -
-
-
-
.flags = 0, /* OK for unprivileged users. */ -
.policy = datapath_policy, -
-
.dumpit = ovs_dp_cmd_dump -
-
-
.flags = GENL_ADMIN_PERM, /* Requires CAP_NET_ADMIN privilege. */ -
.policy = datapath_policy, -
-
-
|
dp_vport_genl_family | -
struct genl_family dp_vport_genl_family = { -
-
.hdrsize = sizeof(struct ovs_header), -
.name = OVS_VPORT_FAMILY, -
.version = OVS_VPORT_VERSION, -
.maxattr = OVS_VPORT_ATTR_MAX, -
-
-
.ops = dp_vport_genl_ops, -
.n_ops = ARRAY_SIZE(dp_vport_genl_ops), -
.mcgrps = &ovs_dp_vport_multicast_group, -
-
| -
static struct genl_ops dp_vport_genl_ops[] = { -
{ .cmd = OVS_VPORT_CMD_NEW, -
.flags = GENL_ADMIN_PERM, /* Requires CAP_NET_ADMIN privilege. */ -
-
.doit = ovs_vport_cmd_new -
-
{ .cmd = OVS_VPORT_CMD_DEL, -
.flags = GENL_ADMIN_PERM, /* Requires CAP_NET_ADMIN privilege. */ -
-
.doit = ovs_vport_cmd_del -
-
{ .cmd = OVS_VPORT_CMD_GET, -
.flags = 0, /* OK for unprivileged users. */ -
-
.doit = ovs_vport_cmd_get, -
.dumpit = ovs_vport_cmd_dump -
-
{ .cmd = OVS_VPORT_CMD_SET, -
.flags = GENL_ADMIN_PERM, /* Requires CAP_NET_ADMIN privilege. */ -
-
.doit = ovs_vport_cmd_set, -
-
|
dp_flow_genl_family | -
static struct genl_family dp_flow_genl_family = { -
-
.hdrsize = sizeof(struct ovs_header), -
-
.version = OVS_FLOW_VERSION, -
.maxattr = OVS_FLOW_ATTR_MAX, -
-
-
-
.n_ops = ARRAY_SIZE(dp_flow_genl_ops), -
.mcgrps = &ovs_dp_flow_multicast_group, -
-
| -
static struct genl_ops dp_flow_genl_ops[] = { -
{ .cmd = OVS_FLOW_CMD_NEW, -
.flags = GENL_ADMIN_PERM, /* Requires CAP_NET_ADMIN privilege. */ -
-
-
-
{ .cmd = OVS_FLOW_CMD_DEL, -
.flags = GENL_ADMIN_PERM, /* Requires CAP_NET_ADMIN privilege. */ -
-
-
-
{ .cmd = OVS_FLOW_CMD_GET, -
.flags = 0, /* OK for unprivileged users. */ -
-
.doit = ovs_flow_cmd_get, -
.dumpit = ovs_flow_cmd_dump -
-
{ .cmd = OVS_FLOW_CMD_SET, -
.flags = GENL_ADMIN_PERM, /* Requires CAP_NET_ADMIN privilege. */ -
-
.doit = ovs_flow_cmd_set, -
-
|
dp_packet_genl_family | -
static struct genl_family dp_packet_genl_family = { -
-
.hdrsize = sizeof(struct ovs_header), -
.name = OVS_PACKET_FAMILY, -
.version = OVS_PACKET_VERSION, -
.maxattr = OVS_PACKET_ATTR_MAX, -
-
-
.ops = dp_packet_genl_ops, -
.n_ops = ARRAY_SIZE(dp_packet_genl_ops), -
| -
static struct genl_ops dp_packet_genl_ops[] = { -
{ .cmd = OVS_PACKET_CMD_EXECUTE, -
.flags = GENL_ADMIN_PERM, /* Requires CAP_NET_ADMIN privilege. */ -
-
.doit = ovs_packet_cmd_execute -
-
|