/* $NetBSD: uipc_syscalls_30.c,v 1.3 2007/12/20 23:02:45 dsl Exp $ */ /* written by Pavel Cahyna, 2006. Public domain. */ #include __KERNEL_RCSID(0, "$NetBSD: uipc_syscalls_30.c,v 1.3 2007/12/20 23:02:45 dsl Exp $"); /* * System call interface to the socket abstraction. */ #include #include #include #include #include #include #include int compat_30_sys_socket(struct lwp *l, const struct compat_30_sys_socket_args *uap, register_t *retval) { int error; error = sys___socket30(l, (const void *)uap, retval); if (error == EAFNOSUPPORT) error = EPROTONOSUPPORT; return (error); }