Deleted Added
full compact
btpand.h (187938) btpand.h (188013)
1/* $NetBSD: btpand.h,v 1.1 2008/08/17 13:20:57 plunky Exp $ */
2
3/*-
4 * Copyright (c) 2008 Iain Hibbert
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 11 unchanged lines hidden (view full) ---

20 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */
27
1/* $NetBSD: btpand.h,v 1.1 2008/08/17 13:20:57 plunky Exp $ */
2
3/*-
4 * Copyright (c) 2008 Iain Hibbert
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 11 unchanged lines hidden (view full) ---

20 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */
27
28/* $FreeBSD: head/usr.sbin/bluetooth/btpand/btpand.h 187938 2009-01-30 22:23:21Z emax $ */
28/* $FreeBSD: head/usr.sbin/bluetooth/btpand/btpand.h 188013 2009-02-02 18:08:22Z emax $ */
29
30#include <sys/types.h>
31#include <sys/queue.h>
32#include <sys/socket.h>
33
34#include <net/if.h>
35#include <net/ethernet.h>
36

--- 9 unchanged lines hidden (view full) ---

46#ifndef __arraycount
47#define __arraycount(__x) (int)(sizeof((__x)) / sizeof((__x)[0]))
48#endif
49
50#ifndef L2CAP_PSM_INVALID
51#define L2CAP_PSM_INVALID(psm) (((psm) & 0x0101) != 0x0001)
52#endif
53
29
30#include <sys/types.h>
31#include <sys/queue.h>
32#include <sys/socket.h>
33
34#include <net/if.h>
35#include <net/ethernet.h>
36

--- 9 unchanged lines hidden (view full) ---

46#ifndef __arraycount
47#define __arraycount(__x) (int)(sizeof((__x)) / sizeof((__x)[0]))
48#endif
49
50#ifndef L2CAP_PSM_INVALID
51#define L2CAP_PSM_INVALID(psm) (((psm) & 0x0101) != 0x0001)
52#endif
53
54#ifndef L2CAP_PSM_BNEP
55#define L2CAP_PSM_BNEP 15
56#endif
57
54typedef struct channel channel_t;
55typedef struct pfilter pfilter_t;
56typedef struct mfilter mfilter_t;
57typedef struct packet packet_t;
58typedef struct pkthdr pkthdr_t;
59typedef struct pktlist pktlist_t;
60typedef struct exthdr exthdr_t;
61typedef struct extlist extlist_t;

--- 147 unchanged lines hidden ---
58typedef struct channel channel_t;
59typedef struct pfilter pfilter_t;
60typedef struct mfilter mfilter_t;
61typedef struct packet packet_t;
62typedef struct pkthdr pkthdr_t;
63typedef struct pktlist pktlist_t;
64typedef struct exthdr exthdr_t;
65typedef struct extlist extlist_t;

--- 147 unchanged lines hidden ---