R1 LovePara: app-server stack, on-target C dev, new NIC support
This commit is contained in:
parent
8de5ae7e9e
commit
2a0f3a406c
1376 changed files with 262659 additions and 28 deletions
16
board/mentalnet/overlay/usr/include/linux/un.h
Normal file
16
board/mentalnet/overlay/usr/include/linux/un.h
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
||||
#ifndef _LINUX_UN_H
|
||||
#define _LINUX_UN_H
|
||||
|
||||
#include <linux/socket.h>
|
||||
|
||||
#define UNIX_PATH_MAX 108
|
||||
|
||||
struct sockaddr_un {
|
||||
__kernel_sa_family_t sun_family; /* AF_UNIX */
|
||||
char sun_path[UNIX_PATH_MAX]; /* pathname */
|
||||
};
|
||||
|
||||
#define SIOCUNIXFILE (SIOCPROTOPRIVATE + 0) /* open a socket file with O_PATH */
|
||||
|
||||
#endif /* _LINUX_UN_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue