diff options
Diffstat (limited to 'cpukit/libnetworking/rtems/rtems_bsdnet_internal.h')
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_bsdnet_internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h b/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h index c8bdfd4b44..3e1ce72455 100644 --- a/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h +++ b/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h @@ -13,6 +13,7 @@ #define _RTEMS_RTEMS_BSDNET_INTERNAL_H #include <rtems.h> +#include <rtems/fs.h> #ifdef __cplusplus extern "C" { @@ -198,6 +199,10 @@ int ioctl (int, ioctl_command_t, ...); # error "Network event conflict" #endif +int rtems_bsdnet_makeFdForSocket( + void *so, const rtems_filesystem_file_handlers_r *h); +struct socket *rtems_bsdnet_fdToSocket(int fd); + #ifdef __cplusplus } #endif |