Bluetooth: Bring in some definitions from NetBSD. Update some usage and naming to be more consistent.

This commit is contained in:
Gregory Nutt
2018-03-31 16:31:51 -06:00
parent 0c007be4bd
commit f7bcad502a
7 changed files with 324 additions and 66 deletions
+4
View File
@@ -158,6 +158,10 @@
#define SOL_IPV6 2 /* See options in include/netinet/ip6.h */
#define SOL_TCP 3 /* See options in include/netinet/tcp.h */
#define SOL_UDP 4 /* See options in include/netinit/udp.h */
#define SOL_HCI 5 /* See options in include/netpacket/bluetooth.h */
#define SOL_L2CAP 6 /* See options in include/netpacket/bluetooth.h */
#define SOL_SCO 7 /* See options in include/netpacket/bluetooth.h */
#define SOL_RFCOMM 8 /* See options in include/netpacket/bluetooth.h */
/* Protocol-level socket options may begin with this value */