Hello, While I have been sitting here grappling trying to get a file descriptor from a sock struct, I realized that sys_socket() calls a function called sock_map_fd, unfortunatley it is not exported so does anyone know anything similar, or an *easy* way to implement this? I tried replicating it, but unfortunatly many of the functions called also are not exported. J. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/