btpand.h (1829d5da5355930d5cfa8ec8add8ff47dc0bebab) btpand.h (7718ced0ea98ea5d1ece76c36a955eec9d97dc52)
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

--- 37 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
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

--- 37 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
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 ---
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 ---