parent
74925f43ed
commit
1e6b2a81d0
|
@ -7045,8 +7045,13 @@ const static struct rt_syscall_def func_table[] =
|
|||
SYSCALL_SIGN(sys_ftruncate),
|
||||
SYSCALL_SIGN(sys_setitimer),
|
||||
SYSCALL_SIGN(sys_utimensat),
|
||||
#ifdef RT_USING_POSIX_SOCKET
|
||||
SYSCALL_SIGN(sys_notimpl),
|
||||
SYSCALL_SIGN(sys_socketpair), /* 205 */
|
||||
#else
|
||||
SYSCALL_SIGN(sys_notimpl),
|
||||
SYSCALL_SIGN(sys_notimpl),
|
||||
#endif
|
||||
};
|
||||
|
||||
const void *lwp_get_sys_api(rt_uint32_t number)
|
||||
|
|
|
@ -186,11 +186,11 @@ struct sockaddr
|
|||
/* Structure describing the address of an AF_LOCAL (aka AF_UNIX) socket. */
|
||||
struct sockaddr_un
|
||||
{
|
||||
unsigned short sa_family;
|
||||
uint8_t sa_len;
|
||||
sa_family_t sa_family;
|
||||
char sun_path[108]; /* Path name. */
|
||||
};
|
||||
|
||||
|
||||
#if NETDEV_IPV4
|
||||
/* members are in network byte order */
|
||||
struct sockaddr_in
|
||||
|
@ -227,16 +227,6 @@ struct sockaddr_storage
|
|||
#endif /* NETDEV_IPV6 */
|
||||
};
|
||||
|
||||
/* LWIPPTP_SWREQ_0036 */
|
||||
#ifndef __DEFINED_struct_iovec
|
||||
struct iovec
|
||||
{
|
||||
void *iov_base;
|
||||
size_t iov_len;
|
||||
};
|
||||
#endif
|
||||
|
||||
/* LWIPPTP_SWREQ_0036 */
|
||||
struct msghdr
|
||||
{
|
||||
void *msg_name;
|
||||
|
@ -248,7 +238,6 @@ struct msghdr
|
|||
int msg_flags;
|
||||
};
|
||||
|
||||
/* LWIPPTP_SWREQ_0036 */
|
||||
/* RFC 3542, Section 20: Ancillary Data */
|
||||
struct cmsghdr
|
||||
{
|
||||
|
@ -257,7 +246,6 @@ struct cmsghdr
|
|||
int cmsg_type; /* protocol-specific type */
|
||||
};
|
||||
|
||||
/* LWIPPTP_SWREQ_0036 */
|
||||
#define CMSG_NXTHDR(mhdr, cmsg) cmsg_nxthdr((mhdr), (cmsg))
|
||||
|
||||
#define CMSG_ALIGN(len) (((len) + sizeof(long) - 1) & ~(sizeof(long)-1))
|
||||
|
|
Loading…
Reference in New Issue