Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/linux/linux_socket.c
Context not available. | |||||
return (sys_socketpair(td, &bsd_args)); | return (sys_socketpair(td, &bsd_args)); | ||||
} | } | ||||
#if defined(__i386__) || (defined(__amd64__) && defined(COMPAT_LINUX32)) | #if defined(__i386__) || defined(__arm__) || (defined(__amd64__) && defined(COMPAT_LINUX32)) | ||||
struct linux_send_args { | struct linux_send_args { | ||||
int s; | int s; | ||||
l_uintptr_t msg; | l_uintptr_t msg; | ||||
Context not available. | |||||
bsd_args.fromlenaddr = 0; | bsd_args.fromlenaddr = 0; | ||||
return (sys_recvfrom(td, &bsd_args)); | return (sys_recvfrom(td, &bsd_args)); | ||||
} | } | ||||
#endif /* __i386__ || (__amd64__ && COMPAT_LINUX32) */ | #endif /* __i386__ || __arm__ || (__amd64__ && COMPAT_LINUX32) */ | ||||
int | int | ||||
linux_sendto(struct thread *td, struct linux_sendto_args *args) | linux_sendto(struct thread *td, struct linux_sendto_args *args) | ||||
Context not available. | |||||
return (error); | return (error); | ||||
} | } | ||||
#if defined(__i386__) || (defined(__amd64__) && defined(COMPAT_LINUX32)) | #if defined(__i386__) || defined(__arm__) || (defined(__amd64__) && defined(COMPAT_LINUX32)) | ||||
/* Argument list sizes for linux_socketcall */ | /* Argument list sizes for linux_socketcall */ | ||||
Context not available. | |||||
uprintf("LINUX: 'socket' typ=%d not implemented\n", args->what); | uprintf("LINUX: 'socket' typ=%d not implemented\n", args->what); | ||||
return (ENOSYS); | return (ENOSYS); | ||||
} | } | ||||
#endif /* __i386__ || (__amd64__ && COMPAT_LINUX32) */ | #endif /* __i386__ || __arm__ || (__amd64__ && COMPAT_LINUX32) */ | ||||
Context not available. |