Restore the plugin to its original state

When I started in my copy, I removed a bunch of code and options that I
felt were distracting. I also renamed lots of elements like 'linux-cp'
and 'Linux CP' and 'Linux-CP' to just be 'lcpng'.

Now, rename all of this back, and make it ready for upstreaming.

The only diffs between my repo and upstream now are the includes and the
lcpng_interface.[ch] code changes, which is good.
This commit is contained in:
Pim van Pelt
2021-08-12 21:18:44 +02:00
parent a6e71359c5
commit 97b9894dce
8 changed files with 128 additions and 89 deletions

View File

@ -21,34 +21,34 @@ option version = "1.0.0";
import "vnet/interface_types.api";
/** \brief Set the namespace for Linux Control Plane host taps
/** \brief Set the default Linux Control Plane namespace
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@param namespace - the new namespace; namespace[0] == 0 iff none
@param namespace - the new default namespace; namespace[0] == 0 iff none
*/
autoreply define lcp_netns_set
autoreply define lcp_default_ns_set
{
u32 client_index;
u32 context;
string namespace[32]; /* LCP_NS_LEN */
};
/** \brief get the Linux Control Plane namespace
/** \brief get the default Linux Control Plane namespace
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
*/
define lcp_netns_get
define lcp_default_ns_get
{
u32 client_index;
u32 context;
};
/** \brief get the Linux Control Plane namespace
/** \brief get the default Linux Control Plane namespace
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@param namespace - the namespace; namespace[0] == 0 iff none
@param namespace - the default namespace; namespace[0] == 0 iff none
*/
define lcp_netns_get_reply
define lcp_default_ns_get_reply
{
u32 context;
string namespace[32]; /* LCP_NS_LEN */
@ -171,8 +171,8 @@ counters linuxcp {
};
paths {
"/err/lcpng-arp-phy" "lcpng";
"/err/lcpng-arp-host" "lcpng";
"/err/linux-cp-arp-phy" "linuxcp";
"/err/linux-cp-arp-host" "linuxcp";
};
/*