ng_l2cap_prse.h revision 107120
167754Smsmith/* 267754Smsmith * ng_l2cap_prse.h 367754Smsmith * 467754Smsmith * Copyright (c) 2001 Maksim Yevmenkin <m_evmenkin@yahoo.com> 5151937Sjkim * All rights reserved. 667754Smsmith * 767754Smsmith * Redistribution and use in source and binary forms, with or without 867754Smsmith * modification, are permitted provided that the following conditions 967754Smsmith * are met: 1067754Smsmith * 1. Redistributions of source code must retain the above copyright 1167754Smsmith * notice, this list of conditions and the following disclaimer. 1267754Smsmith * 2. Redistributions in binary form must reproduce the above copyright 13151937Sjkim * notice, this list of conditions and the following disclaimer in the 1470243Smsmith * documentation and/or other materials provided with the distribution. 1567754Smsmith * 1667754Smsmith * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1767754Smsmith * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1867754Smsmith * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1967754Smsmith * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 2067754Smsmith * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2167754Smsmith * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2267754Smsmith * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2367754Smsmith * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2467754Smsmith * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2567754Smsmith * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2667754Smsmith * SUCH DAMAGE. 2767754Smsmith * 2867754Smsmith * $Id: ng_l2cap_prse.h,v 1.2 2002/09/04 21:38:38 max Exp $ 2967754Smsmith * $FreeBSD: head/sys/netgraph/bluetooth/l2cap/ng_l2cap_prse.h 107120 2002-11-20 23:01:59Z julian $ 3067754Smsmith */ 3167754Smsmith 3267754Smsmith/*************************************************************************** 3367754Smsmith *************************************************************************** 3467754Smsmith ** ng_parse definitions for the L2CAP node 3567754Smsmith *************************************************************************** 3667754Smsmith ***************************************************************************/ 3767754Smsmith 3867754Smsmith#ifndef _NETGRAPH_L2CAP_PRSE_H_ 3967754Smsmith#define _NETGRAPH_L2CAP_PRSE_H_ 1 4067754Smsmith 4167754Smsmith/* 4267754Smsmith * L2CAP node command list 4367754Smsmith */ 4467754Smsmith 4567754Smsmithstatic const struct ng_cmdlist ng_l2cap_cmdlist[] = { 4667754Smsmith { 4767754Smsmith NGM_L2CAP_COOKIE, 4867754Smsmith NGM_L2CAP_NODE_GET_FLAGS, 4967754Smsmith "get_flags", 5067754Smsmith NULL, 5167754Smsmith &ng_parse_uint16_type 5267754Smsmith }, 5367754Smsmith { 5467754Smsmith NGM_L2CAP_COOKIE, 5567754Smsmith NGM_L2CAP_NODE_GET_DEBUG, 5667754Smsmith "get_debug", 5767754Smsmith NULL, 5867754Smsmith &ng_parse_uint16_type 5967754Smsmith }, 6067754Smsmith { 6167754Smsmith NGM_L2CAP_COOKIE, 6267754Smsmith NGM_L2CAP_NODE_SET_DEBUG, 6367754Smsmith "set_debug", 6467754Smsmith &ng_parse_uint16_type, 6567754Smsmith NULL 6667754Smsmith }, 6767754Smsmith { 0, } 6867754Smsmith}; 6967754Smsmith 7067754Smsmith#endif /* ndef _NETGRAPH_L2CAP_PRSE_H_ */ 7167754Smsmith 7267754Smsmith