1570af302Sopenharmony_ci#define SOCK_STREAM 2 2570af302Sopenharmony_ci#define SOCK_DGRAM 1 3570af302Sopenharmony_ci 4570af302Sopenharmony_ci#define SOL_SOCKET 65535 5570af302Sopenharmony_ci 6570af302Sopenharmony_ci#define SO_DEBUG 1 7570af302Sopenharmony_ci 8570af302Sopenharmony_ci#define SO_REUSEADDR 0x0004 9570af302Sopenharmony_ci#define SO_KEEPALIVE 0x0008 10570af302Sopenharmony_ci#define SO_DONTROUTE 0x0010 11570af302Sopenharmony_ci#define SO_BROADCAST 0x0020 12570af302Sopenharmony_ci#define SO_LINGER 0x0080 13570af302Sopenharmony_ci#define SO_OOBINLINE 0x0100 14570af302Sopenharmony_ci#define SO_REUSEPORT 0x0200 15570af302Sopenharmony_ci#define SO_SNDBUF 0x1001 16570af302Sopenharmony_ci#define SO_RCVBUF 0x1002 17570af302Sopenharmony_ci#define SO_SNDLOWAT 0x1003 18570af302Sopenharmony_ci#define SO_RCVLOWAT 0x1004 19570af302Sopenharmony_ci#define SO_ERROR 0x1007 20570af302Sopenharmony_ci#define SO_TYPE 0x1008 21570af302Sopenharmony_ci#define SO_ACCEPTCONN 0x1009 22570af302Sopenharmony_ci#define SO_PROTOCOL 0x1028 23570af302Sopenharmony_ci#define SO_DOMAIN 0x1029 24570af302Sopenharmony_ci 25570af302Sopenharmony_ci#define SO_NO_CHECK 11 26570af302Sopenharmony_ci#define SO_PRIORITY 12 27570af302Sopenharmony_ci#define SO_BSDCOMPAT 14 28570af302Sopenharmony_ci#define SO_PASSCRED 17 29570af302Sopenharmony_ci#define SO_PEERCRED 18 30570af302Sopenharmony_ci#define SO_PEERSEC 30 31570af302Sopenharmony_ci#define SO_SNDBUFFORCE 31 32570af302Sopenharmony_ci#define SO_RCVBUFFORCE 33 33570af302Sopenharmony_ci 34570af302Sopenharmony_ci#define SOCK_NONBLOCK 0200 35570af302Sopenharmony_ci#define SOCK_CLOEXEC 02000000 36