Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call to upf_init()? #271

Closed
mohammedyaqub opened this issue Jun 4, 2022 · 1 comment
Closed

Call to upf_init()? #271

mohammedyaqub opened this issue Jun 4, 2022 · 1 comment

Comments

@mohammedyaqub
Copy link

Hi,

I am trying to write my own main() which in turn call to upf_init() and below is the declaration of upf_init() function.

static clib_error_t *upf_init (vlib_main_t * vm);
  • what are the pre steps to initialize the vlib_main_t data structure before hand passing to upf_init() ?
  • what are the appropriate functions to be called before calling to upf_init() ?
  • Or is there any other way to call upf_init() ?

Please help.

Regards,
Yaqub.

@mohammedyaqub mohammedyaqub changed the title Call to upf_init(). Call to upf_init()? Jun 4, 2022
@sergeymatov
Copy link
Contributor

Hello
upf_init is a plugin init function loaded in a sequence of VPP core/plugins modules. Please check out VPP structuring and node dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants