You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
789 B

  1. --- a/oor/data-plane/tun/tun.c
  2. +++ b/oor/data-plane/tun/tun.c
  3. @@ -53,6 +53,8 @@ int tun_rm_fwd_from_entry(lisp_addr_t *eid_prefix, uint8_t is_local);
  4. tun_dplane_data_t * tun_dplane_data_new_init(oor_encap_t encap_type, glist_t *allowed_dst_eids);
  5. void tun_dplane_data_free(tun_dplane_data_t *data);
  6. +int tun_receive_fd;
  7. +int tun_ifindex;
  8. data_plane_struct_t dplane_tun = {
  9. .datap_init = tun_configure_data_plane,
  10. --- a/oor/data-plane/tun/tun.h
  11. +++ b/oor/data-plane/tun/tun.h
  12. @@ -60,9 +60,9 @@
  13. /* Tun MN variables */
  14. -int tun_receive_fd;
  15. -int tun_ifindex;
  16. -uint8_t *tun_receive_buf;
  17. +extern int tun_receive_fd;
  18. +extern int tun_ifindex;
  19. +extern uint8_t *tun_receive_buf;
  20. lisp_addr_t * tun_get_default_output_address(int afi);
  21. int tun_get_default_output_socket(int);