c
   #include <assert.h>

   // ... inside the function
   assert(xdp_prog != NULL); 
   // ... rest of the function
   