mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 22:20:01 +08:00
net/vsock: add AF_VSOCK address family
Add AF_VSOCK address family support, This is the vsock framework preparation patch. Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
This commit is contained in:
@@ -52,6 +52,7 @@
|
||||
#define PF_CAN 29 /* Controller Area Network (SocketCAN) */
|
||||
#define PF_BLUETOOTH 31 /* Bluetooth sockets */
|
||||
#define PF_IEEE802154 36 /* Low level IEEE 802.15.4 radio frame interface */
|
||||
#define PF_VSOCK 40 /* vSockets */
|
||||
#define PF_PKTRADIO 64 /* Low level packet radio interface */
|
||||
#define PF_RPMSG 65 /* Remote core communication */
|
||||
|
||||
@@ -70,6 +71,7 @@
|
||||
#define AF_CAN PF_CAN
|
||||
#define AF_BLUETOOTH PF_BLUETOOTH
|
||||
#define AF_IEEE802154 PF_IEEE802154
|
||||
#define AF_VSOCK PF_VSOCK
|
||||
#define AF_PKTRADIO PF_PKTRADIO
|
||||
#define AF_RPMSG PF_RPMSG
|
||||
|
||||
|
||||
Reference in New Issue
Block a user