mirror of
https://github.com/apache/nuttx.git
synced 2026-10-12 16:50:21 +00:00
net/sockopt: move BINDTODEVICE to socket level
rename the UDP_BINDTODEVICE to SO_BINDTODEVICE to follow the linux style to be compatible with non-UDP protocol binding requirements Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
50177dbae1
commit
9cb17841d8
17 changed files with 76 additions and 185 deletions
|
|
@ -143,6 +143,7 @@
|
|||
#define NUTTX_SO_SNDTIMEO 14
|
||||
#define NUTTX_SO_TYPE 15
|
||||
#define NUTTX_SO_TIMESTAMP 16
|
||||
#define NUTTX_SO_BINDTODEVICE 17
|
||||
|
||||
#define NUTTX_SO_SNDBUFFORCE 32
|
||||
#define NUTTX_SO_RCVBUFFORCE 33
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue