Patch #874083: Bluetooth support for socket module.

This commit is contained in:
Martin v. Löwis 2004-01-31 12:34:17 +00:00
parent 4d205e366c
commit 12af0485f8
7 changed files with 126 additions and 63 deletions

View file

@ -32,6 +32,13 @@
# undef AF_UNIX
#endif
#ifdef HAVE_BLUETOOTH_BLUETOOTH_H
#include <bluetooth/bluetooth.h>
#include <bluetooth/rfcomm.h>
#include <bluetooth/l2cap.h>
#include <bluetooth/sco.h>
#endif
#ifdef HAVE_NETPACKET_PACKET_H
# include <sys/ioctl.h>
# include <net/if.h>
@ -80,6 +87,11 @@ typedef struct {
struct sockaddr_in6 in6;
struct sockaddr_storage storage;
#endif
#ifdef HAVE_BLUETOOTH_BLUETOOTH_H
struct sockaddr_l2 bt_l2;
struct sockaddr_rc bt_rc;
struct sockaddr_sco bt_sco;
#endif
#ifdef HAVE_NETPACKET_PACKET_H
struct sockaddr_ll ll;
#endif