diff options
| author | zms123456 <[email protected]> | 2024-09-14 05:30:24 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-09-13 17:30:24 -0400 |
| commit | fb02e7934db9c6fe75df9c6fb7064b4132934845 (patch) | |
| tree | 897cbf538a7f368b8020434dcdc9913dd302a408 /components/lwp/lwp_sys_socket.h | |
| parent | 49c39d4a8d0b7bf6ba2f56bda34f00fe898aca09 (diff) | |
[component][net]add more socket flag
Diffstat (limited to 'components/lwp/lwp_sys_socket.h')
| -rw-r--r-- | components/lwp/lwp_sys_socket.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/components/lwp/lwp_sys_socket.h b/components/lwp/lwp_sys_socket.h index 28a0887203..7f1fc457da 100644 --- a/components/lwp/lwp_sys_socket.h +++ b/components/lwp/lwp_sys_socket.h @@ -41,6 +41,10 @@ #define INTF_SO_SNDBUF 7 #define INTF_SO_SNDLOWAT 19 #define INTF_SO_RCVLOWAT 18 +#define INTF_SO_BINDTODEVICE 25 +#define INTF_SO_TIMESTAMPNS 35 +#define INTF_SO_TIMESTAMPING 37 +#define INTF_SO_SELECT_ERR_QUEUE 45 #define IMPL_SO_BROADCAST 0x0020 #define IMPL_SO_KEEPALIVE 0x0008 @@ -59,6 +63,10 @@ #define IMPL_SO_SNDBUF 0x1001 #define IMPL_SO_SNDLOWAT 0x1003 #define IMPL_SO_RCVLOWAT 0x1004 +#define IMPL_SO_BINDTODEVICE 0x100b +#define IMPL_SO_TIMESTAMPNS INTF_SO_TIMESTAMPNS +#define IMPL_SO_TIMESTAMPING INTF_SO_TIMESTAMPING +#define IMPL_SO_SELECT_ERR_QUEUE INTF_SO_SELECT_ERR_QUEUE /* IPPROTO_IP option names */ #define INTF_IP_TTL 2 |
