travelping / upg-vpp

User Plane Gateway (UPG) based on VPP
Apache License 2.0
148 stars 51 forks source link

Call to upf_init()? #271

Closed mohammedyaqub closed 2 years ago

mohammedyaqub commented 2 years ago

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);

Please help.

Regards, Yaqub.

sergeymatov commented 2 years ago

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.