mxge: properly remove the sysctls
[dragonfly.git] / sys / net / i4b / layer4 / i4b_l4.h
blob21ebba6e264328eb2c7be5e9ff6d3594d691c8dc
1 /*
2 * Copyright (c) 1997, 2001 Hellmuth Michaelis. All rights reserved.
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the
11 * documentation and/or other materials provided with the distribution.
13 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23 * SUCH DAMAGE.
25 *---------------------------------------------------------------------------
27 * i4b_l4.h - kernel interface to userland header file
28 * ---------------------------------------------------
30 * $Id: i4b_l4.h,v 1.18 2000/04/27 11:35:01 hm Exp $
32 * $FreeBSD: src/sys/i4b/layer4/i4b_l4.h,v 1.6.2.2 2001/12/16 15:12:59 hm Exp $
33 * $DragonFly: src/sys/net/i4b/layer4/i4b_l4.h,v 1.2 2003/06/17 04:28:40 dillon Exp $
35 * last edit-date: [Thu Apr 27 13:28:01 2000]
37 *---------------------------------------------------------------------------*/
39 #ifndef _I4B_L4_H_
40 #define _I4B_L4_H_
42 extern void i4bputqueue ( struct mbuf *m );
43 extern void i4bputqueue_hipri(struct mbuf *m);
44 extern void i4b_l4_accounting(int, int, int, int, int, int, int, int, int);
45 extern void i4b_l4_alert_ind ( call_desc_t *cd );
46 extern void i4b_l4_charging_ind( call_desc_t *cd );
47 extern void i4b_l4_connect_active_ind ( call_desc_t *cd );
48 extern void i4b_l4_connect_ind ( call_desc_t *cd );
49 extern void i4b_l4_daemon_attached(void);
50 extern void i4b_l4_daemon_detached(void);
51 extern void i4b_l4_dialout( int driver, int driver_unit );
52 extern void i4b_l4_dialoutnumber(int driver, int driver_unit, int cmdlen, char *cmd);
53 extern void i4b_l4_keypad(int driver, int driver_unit, int cmdlen, char *cmd);
54 extern void i4b_l4_disconnect_ind ( call_desc_t *cd );
55 extern void i4b_l4_drvrdisc (int driver, int driver_unit );
56 extern void i4b_l4_negcomplete( call_desc_t *cd );
57 extern void i4b_l4_ifstate_changed( call_desc_t *cd, int new_state );
58 extern void i4b_l4_idle_timeout_ind( call_desc_t *cd );
59 extern void i4b_l4_info_ind ( call_desc_t *cd );
60 extern void i4b_l4_packet_ind(int, int, int, struct mbuf *pkt);
61 extern void i4b_l4_l12stat(int controller, int layer, int state);
62 extern void i4b_l4_pdeact(int controller, int numactive);
63 extern void i4b_l4_teiasg(int controller, int tei);
64 extern void i4b_l4_status_ind ( call_desc_t *cd );
65 extern void i4b_l4_proceeding_ind ( call_desc_t *cd );
66 extern void i4b_idle_check(call_desc_t *cdp);
67 extern call_desc_t * cd_by_cdid ( unsigned int cdid );
68 extern call_desc_t * cd_by_unitcr ( int unit, int cr, int crf );
69 extern void freecd_by_cd ( call_desc_t *cd );
70 extern unsigned char get_rand_cr ( int unit );
71 extern call_desc_t * reserve_cd ( void );
72 extern void T400_start ( call_desc_t *cd );
73 extern void T400_stop ( call_desc_t *cd );
75 #endif /* _I4B_L4_H_ */