mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +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
|
|
@ -31,10 +31,4 @@
|
|||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/* UDP protocol (SOL_UDP) socket options */
|
||||
|
||||
#define UDP_BINDTODEVICE (__SO_PROTOCOL + 0) /* Bind this UDP socket to a
|
||||
* specific network device.
|
||||
*/
|
||||
|
||||
#endif /* __INCLUDE_NETINET_UDP_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue