diff options
Diffstat (limited to 'pfinet/pfinet.h')
-rw-r--r-- | pfinet/pfinet.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pfinet/pfinet.h b/pfinet/pfinet.h index d08779bf..f8a1dd8d 100644 --- a/pfinet/pfinet.h +++ b/pfinet/pfinet.h @@ -29,6 +29,7 @@ #include <sys/mman.h> #include <sys/socket.h> #include <pthread.h> +#include "route.h" extern pthread_mutex_t global_lock; extern pthread_mutex_t net_bh_lock; @@ -77,9 +78,7 @@ error_t make_sockaddr_port (struct socket *, int, void init_devices (void); void *net_bh_worker (void *); void init_time (void); -void ip_rt_add (short, u_long, u_long, u_long, struct device *, - u_short, u_long); -void ip_rt_del (u_long, struct device *); +int get_routing_table(int start, int count, ifrtreq_t *routes); struct sock; error_t tcp_tiocinq (struct sock *sk, mach_msg_type_number_t *amount); |