1139823Simp/*-
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 *
1398402Sjulian * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
1498402Sjulian * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
1598402Sjulian * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
1698402Sjulian * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
1798402Sjulian * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
1898402Sjulian * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1998402Sjulian * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2098402Sjulian * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2198402Sjulian * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
2298402Sjulian * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2398402Sjulian *
2498402Sjulian *
2598402Sjulian * $FreeBSD$
2698402Sjulian *
2798402Sjulian */
2898402Sjulian
29122481Sru#ifndef _NETGRAPH_NG_DEVICE_H_
30122481Sru#define _NETGRAPH_NG_DEVICE_H_
3198402Sjulian
3298402Sjulian/* Node type name and magic cookie */
3398402Sjulian#define NG_DEVICE_NODE_TYPE	"device"
34136673Sglebius#define NGM_DEVICE_COOKIE	1091129178
35136673Sglebius#define	NG_DEVICE_DEVNAME	"ngd"
3698402Sjulian
37136673Sglebius/* Netgraph control messages */
38136673Sglebiusenum {
39136673Sglebius	NGM_DEVICE_GET_DEVNAME,
40136673Sglebius};
41136673Sglebius
42136673Sglebius#if 0
4398402Sjulian/* passing ioctl params */
4498402Sjulianstruct ngd_param_s {
4598402Sjulian	        void * p;
4698402Sjulian};
47136673Sglebius#endif
4898402Sjulian
49122481Sru#endif /* _NETGRAPH_NG_DEVICE_H_ */
50