ng_device.h revision 98402
198402Sjulian/*
298402Sjulian * Copyright (c) 2002 Mark Santcroos <marks@ripe.net>
398402Sjulian *
498402Sjulian * Redistribution and use in source and binary forms, with or without
598402Sjulian * modification, are permitted provided that the following conditions
698402Sjulian * are met:
798402Sjulian * 1. Redistributions of source code must retain the above copyright
898402Sjulian *    notice, this list of conditions and the following disclaimer.
998402Sjulian * 2. Redistributions in binary form must reproduce the above copyright
1098402Sjulian *    notice, this list of conditions and the following disclaimer in the
1198402Sjulian *    documentation and/or other materials provided with the distribution.
1298402Sjulian * 3. The name of the author may not be used to endorse or promote products
1398402Sjulian *    derived from this software without specific prior written permission.
1498402Sjulian *
1598402Sjulian * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
1698402Sjulian * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
1798402Sjulian * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
1898402Sjulian * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
1998402Sjulian * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
2098402Sjulian * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2198402Sjulian * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2298402Sjulian * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2398402Sjulian * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
2498402Sjulian * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2598402Sjulian *
2698402Sjulian *
2798402Sjulian * $FreeBSD: head/sys/netgraph/ng_device.h 98402 2002-06-18 21:32:33Z julian $
2898402Sjulian *
2998402Sjulian */
3098402Sjulian
3198402Sjulian#ifndef _NETGRAPH_DEVICE_H_
3298402Sjulian#define _NETGRAPH_DEVICE_H_
3398402Sjulian
3498402Sjulian/* Node type name and magic cookie */
3598402Sjulian#define NG_DEVICE_NODE_TYPE	"device"
3698402Sjulian#define NGM_DEVICE_COOKIE	1009920473
3798402Sjulian
3898402Sjulian/* passing ioctl params */
3998402Sjulianstruct ngd_param_s {
4098402Sjulian	        void * p;
4198402Sjulian};
4298402Sjulian
4398402Sjulian
4498402Sjulian#endif /* _NETGRAPH_DEVICE_H_ */
45