-/* Copyright (c) 2008 The Board of Trustees of The Leland Stanford
+/* Copyright (c) 2008, 2009 The Board of Trustees of The Leland Stanford
* Junior University
*
* We are making the OpenFlow specification and associated documentation
/* Commands that can be executed on the datapath's netlink interface. */
enum brc_genl_command {
BRC_GENL_C_UNSPEC,
- BRC_GENL_C_DP_ADD, /* Datapath created. */
- BRC_GENL_C_DP_DEL, /* Datapath destroyed. */
- BRC_GENL_C_DP_RESULT, /* Result of datapath command from vswitchd. */
- BRC_GENL_C_PORT_ADD, /* Port added to datapath. */
- BRC_GENL_C_PORT_DEL, /* Port removed from datapath. */
- BRC_GENL_C_QUERY_MC, /* Get multicast group for brcompat. */
+
+ /*
+ * "K:" messages are sent by the kernel to userspace.
+ * "U:" messages are sent by userspace to the kernel.
+ */
+ BRC_GENL_C_DP_ADD, /* K: Datapath created. */
+ BRC_GENL_C_DP_DEL, /* K: Datapath destroyed. */
+ BRC_GENL_C_DP_RESULT, /* U: Result of datapath command from vswitchd. */
+ BRC_GENL_C_PORT_ADD, /* K: Port added to datapath. */
+ BRC_GENL_C_PORT_DEL, /* K: Port removed from datapath. */
+ BRC_GENL_C_QUERY_MC, /* U: Get multicast group for brcompat. */
__BRC_GENL_C_MAX,
BRC_GENL_C_MAX = __BRC_GENL_C_MAX - 1