1139823Simp/*- 272909Sjulian * 372909Sjulian * Copyright (c) 1999-2000, Vitaly V Belekhov 472909Sjulian * All rights reserved. 572909Sjulian * 672909Sjulian * Redistribution and use in source and binary forms, with or without 772909Sjulian * modification, are permitted provided that the following conditions 872909Sjulian * are met: 972909Sjulian * 1. Redistributions of source code must retain the above copyright 1072909Sjulian * notice unmodified, this list of conditions, and the following 1172909Sjulian * disclaimer. 1272909Sjulian * 2. Redistributions in binary form must reproduce the above copyright 1372909Sjulian * notice, this list of conditions and the following disclaimer in the 1472909Sjulian * documentation and/or other materials provided with the distribution. 1572909Sjulian * 1672909Sjulian * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1772909Sjulian * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1872909Sjulian * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1972909Sjulian * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 2072909Sjulian * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2172909Sjulian * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2272909Sjulian * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2372909Sjulian * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2472909Sjulian * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2572909Sjulian * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2672909Sjulian * SUCH DAMAGE. 2772909Sjulian * 2880304Sbrooks * $FreeBSD$ 2972909Sjulian * 3072909Sjulian */ 3172909Sjulian 3272909Sjulian 33122481Sru#ifndef _NETGRAPH_NG_SPLIT_H_ 34122481Sru#define _NETGRAPH_NG_SPLIT_H_ 3572909Sjulian 3672909Sjulian/* Node type name and magic cookie */ 3780304Sbrooks#define NG_SPLIT_NODE_TYPE "split" 38151676Sru#define NGM_SPLIT_COOKIE 949409402 3972909Sjulian 4072909Sjulian/* My hook names */ 4180304Sbrooks#define NG_SPLIT_HOOK_MIXED "mixed" /* Mixed stream (in/out) */ 4280304Sbrooks#define NG_SPLIT_HOOK_OUT "out" /* Output to outhook (sending out) */ 4380304Sbrooks#define NG_SPLIT_HOOK_IN "in" /* Input from inhook (recieving) */ 4472909Sjulian 45122481Sru#endif /* _NETGRAPH_NG_SPLIT_H_ */ 46