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/vnet/ip/ip4_input.c | |
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/vnet/ip/ip4_input.c')
-rw-r--r-- | src/vnet/ip/ip4_input.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vnet/ip/ip4_input.c b/src/vnet/ip/ip4_input.c index 106d17da3cb..af2b89ab2ec 100644 --- a/src/vnet/ip/ip4_input.c +++ b/src/vnet/ip/ip4_input.c @@ -40,7 +40,6 @@ #include <vnet/ip/ip4_input.h> #include <vnet/ethernet/ethernet.h> #include <vnet/pg/pg.h> -#include <vnet/ppp/ppp.h> #include <vnet/hdlc/hdlc.h> #include <vnet/util/throttle.h> @@ -411,7 +410,6 @@ ip4_init (vlib_main_t * vm) clib_error_t *error; ethernet_register_input_type (vm, ETHERNET_TYPE_IP4, ip4_input_node.index); - ppp_register_input_protocol (vm, PPP_PROTOCOL_ip4, ip4_input_node.index); hdlc_register_input_protocol (vm, HDLC_PROTOCOL_ip4, ip4_input_node.index); { |