Deleted Added
full compact
ndis_var.h (131953) ndis_var.h (132973)
1/*
2 * Copyright (c) 2003
3 * Bill Paul <wpaul@windriver.com>. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 * THE POSSIBILITY OF SUCH DAMAGE.
31 *
1/*
2 * Copyright (c) 2003
3 * Bill Paul <wpaul@windriver.com>. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 * THE POSSIBILITY OF SUCH DAMAGE.
31 *
32 * $FreeBSD: head/sys/compat/ndis/ndis_var.h 131953 2004-07-11 00:19:30Z wpaul $
32 * $FreeBSD: head/sys/compat/ndis/ndis_var.h 132973 2004-08-01 20:04:31Z wpaul $
33 */
34
35#ifndef _NDIS_VAR_H_
36#define _NDIS_VAR_H_
37
38/* Forward declarations */
39struct ndis_miniport_block;
40struct ndis_mdriver_block;

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

1309struct ndis_timer_entry {
1310 struct callout nte_ch;
1311 ndis_miniport_timer *nte_timer;
1312 TAILQ_ENTRY(ndis_timer_entry) link;
1313};
1314
1315TAILQ_HEAD(nte_head, ndis_timer_entry);
1316
33 */
34
35#ifndef _NDIS_VAR_H_
36#define _NDIS_VAR_H_
37
38/* Forward declarations */
39struct ndis_miniport_block;
40struct ndis_mdriver_block;

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

1309struct ndis_timer_entry {
1310 struct callout nte_ch;
1311 ndis_miniport_timer *nte_timer;
1312 TAILQ_ENTRY(ndis_timer_entry) link;
1313};
1314
1315TAILQ_HEAD(nte_head, ndis_timer_entry);
1316
1317#define NDIS_FH_TYPE_VFS 0
1318#define NDIS_FH_TYPE_MODULE 1
1319
1317struct ndis_fh {
1320struct ndis_fh {
1321 int nf_type;
1318 void *nf_vp;
1319 void *nf_map;
1320 uint32_t nf_maplen;
1321};
1322
1323typedef struct ndis_fh ndis_fh;
1324
1325/*

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

1517extern int ndis_create_sysctls(void *);
1518extern int ndis_add_sysctl(void *, char *, char *, char *, int);
1519extern int ndis_flush_sysctls(void *);
1520extern int ndis_sched(void (*)(void *), void *, int);
1521extern int ndis_unsched(void (*)(void *), void *, int);
1522extern int ndis_thsuspend(struct proc *, int);
1523extern void ndis_thresume(struct proc *);
1524extern int ndis_strcasecmp(const char *, const char *);
1322 void *nf_vp;
1323 void *nf_map;
1324 uint32_t nf_maplen;
1325};
1326
1327typedef struct ndis_fh ndis_fh;
1328
1329/*

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

1521extern int ndis_create_sysctls(void *);
1522extern int ndis_add_sysctl(void *, char *, char *, char *, int);
1523extern int ndis_flush_sysctls(void *);
1524extern int ndis_sched(void (*)(void *), void *, int);
1525extern int ndis_unsched(void (*)(void *), void *, int);
1526extern int ndis_thsuspend(struct proc *, int);
1527extern void ndis_thresume(struct proc *);
1528extern int ndis_strcasecmp(const char *, const char *);
1529extern int ndis_strncasecmp(const char *, const char *, size_t);
1525__END_DECLS
1526
1527#endif /* _NDIS_VAR_H_ */
1530__END_DECLS
1531
1532#endif /* _NDIS_VAR_H_ */