Advertisement
Guest User

Untitled

a guest
Jan 16th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. /virtual/main.c:288:12: error: use of undeclared identifier 'port_md'
  2. int_md = port_md.lookup(&inport_key);
  3. ^
  4. /virtual/main.c:292:8: error: no member named 'packet_len' in 'struct pkt_metadata'
  5. md.packet_len = int_md->packet_len;
  6. ~~ ^
  7. /virtual/main.c:292:29: error: no member named 'packet_len' in 'struct pkt_metadata'
  8. md.packet_len = int_md->packet_len;
  9. ~~~~~~ ^
  10. /virtual/main.c:310:5: error: conflicting types for 'iovnet_pkt_redirect'
  11. int iovnet_pkt_redirect(struct CTXTYPE *pkt, struct pkt_metadata *md, int out_port) {
  12. ^
  13. /virtual/main.c:81:5: note: previous declaration is here
  14. int iovnet_pkt_redirect(struct CTXTYPE *skb,
  15. ^
  16. /virtual/main.c:313:5: error: use of undeclared identifier 'xdp_nodes'
  17. xdp_nodes.call(pkt, *next);
  18. ^
  19. /virtual/main.c:323:3: error: use of undeclared identifier 'port_md'
  20. port_md.update(&inport_key, md);
  21. ^
  22. /virtual/main.c:325:3: error: use of undeclared identifier 'xdp_nodes'
  23. xdp_nodes.call(pkt, CONTROLLER_XDP_MODULE_ID);
  24. ^
  25. /virtual/main.c:325:23: error: use of undeclared identifier 'CONTROLLER_XDP_MODULE_ID'
  26. xdp_nodes.call(pkt, CONTROLLER_XDP_MODULE_ID);
  27. ^
  28. 8 errors generated.
  29. [2018-01-16 14:50:04.868] [iovnetd] [error] failed to init XDP program: Unable to initialize BPF program
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement