diff options
author | Joel Ahn <joeahn@cisco.com> | 2024-11-28 13:54:10 -0800 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2024-12-06 22:18:42 +0000 |
commit | 72bd2e585d75b88911956d721753682dfa24001a (patch) | |
tree | bed016a036da7966897c19316a465b30376b38ad /src/plugins/pppoe | |
parent | 41ae1e20e6cc768e5562ad89d1f35c63d471b9b9 (diff) |
misc: move ppp to a plugin
Type: refactor
Move PPP folder under vnet to the plugin folder, and modify some of path
of the #inlude<header> to the new path.
Add a plugin.c file to register a plugin.
Resolve ip4_input and ip6_input's dependency on PPP functions by moving
those calls to PPP's initialization.
Resolve osi's inter-plugin dependency on PPP by having it retrieve the
function pointer
Add ppp to the list of valid spelling words
JIRA: VPP-2052
Change-Id: I1a26ef0663a91857d13f7d87a3bb14bc38893194
Signed-off-by: Joel Ahn <joeahn@cisco.com>
Diffstat (limited to 'src/plugins/pppoe')
-rw-r--r-- | src/plugins/pppoe/pppoe.c | 2 | ||||
-rw-r--r-- | src/plugins/pppoe/pppoe_cp_node.c | 2 | ||||
-rw-r--r-- | src/plugins/pppoe/pppoe_decap.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/pppoe/pppoe.c b/src/plugins/pppoe/pppoe.c index 0d5f9c1aeac..497fbc09ae0 100644 --- a/src/plugins/pppoe/pppoe.c +++ b/src/plugins/pppoe/pppoe.c @@ -27,7 +27,7 @@ #include <vnet/dpo/interface_tx_dpo.h> #include <vnet/plugin/plugin.h> #include <vpp/app/version.h> -#include <vnet/ppp/packet.h> +#include <ppp/packet.h> #include <pppoe/pppoe.h> #include <vnet/adj/adj_midchain.h> #include <vnet/adj/adj_mcast.h> diff --git a/src/plugins/pppoe/pppoe_cp_node.c b/src/plugins/pppoe/pppoe_cp_node.c index 1a44b5d3853..c96559679f0 100644 --- a/src/plugins/pppoe/pppoe_cp_node.c +++ b/src/plugins/pppoe/pppoe_cp_node.c @@ -16,7 +16,7 @@ */ #include <vlib/vlib.h> -#include <vnet/ppp/packet.h> +#include <ppp/packet.h> #include <pppoe/pppoe.h> #define foreach_pppoe_cp_next \ diff --git a/src/plugins/pppoe/pppoe_decap.c b/src/plugins/pppoe/pppoe_decap.c index 7c456a7a9cc..854364b1aca 100644 --- a/src/plugins/pppoe/pppoe_decap.c +++ b/src/plugins/pppoe/pppoe_decap.c @@ -16,7 +16,7 @@ */ #include <vlib/vlib.h> -#include <vnet/ppp/packet.h> +#include <ppp/packet.h> #include <pppoe/pppoe.h> typedef struct { |