Deleted Added
full compact
ng_frame_relay.c (69922) ng_frame_relay.c (70159)
1
2/*
3 * ng_frame_relay.c
4 *
5 * Copyright (c) 1996-1999 Whistle Communications, Inc.
6 * All rights reserved.
7 *
8 * Subject to the following obligations and disclaimer of warranty, use and

--- 22 unchanged lines hidden (view full) ---

31 * SERVICES, LOSS OF USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY
32 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
33 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
34 * THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY
35 * OF SUCH DAMAGE.
36 *
37 * Author: Julian Elisher <julian@freebsd.org>
38 *
1
2/*
3 * ng_frame_relay.c
4 *
5 * Copyright (c) 1996-1999 Whistle Communications, Inc.
6 * All rights reserved.
7 *
8 * Subject to the following obligations and disclaimer of warranty, use and

--- 22 unchanged lines hidden (view full) ---

31 * SERVICES, LOSS OF USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY
32 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
33 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
34 * THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY
35 * OF SUCH DAMAGE.
36 *
37 * Author: Julian Elisher <julian@freebsd.org>
38 *
39 * $FreeBSD: head/sys/netgraph/ng_frame_relay.c 69922 2000-12-12 18:52:14Z julian $
39 * $FreeBSD: head/sys/netgraph/ng_frame_relay.c 70159 2000-12-18 20:03:32Z julian $
40 * $Whistle: ng_frame_relay.c,v 1.20 1999/11/01 09:24:51 julian Exp $
41 */
42
43/*
44 * This node implements the frame relay protocol, not including
45 * the LMI line management. This means basically keeping track
46 * of which DLCI's are active, doing frame (de)multiplexing, etc.
47 *

--- 84 unchanged lines hidden (view full) ---

132
133/* Other internal functions */
134static int ngfrm_decode(node_p node, struct mbuf * m, meta_p meta);
135static int ngfrm_addrlen(char *hdr);
136static int ngfrm_allocate_CTX(sc_p sc, int dlci);
137
138/* Netgraph type */
139static struct ng_type typestruct = {
40 * $Whistle: ng_frame_relay.c,v 1.20 1999/11/01 09:24:51 julian Exp $
41 */
42
43/*
44 * This node implements the frame relay protocol, not including
45 * the LMI line management. This means basically keeping track
46 * of which DLCI's are active, doing frame (de)multiplexing, etc.
47 *

--- 84 unchanged lines hidden (view full) ---

132
133/* Other internal functions */
134static int ngfrm_decode(node_p node, struct mbuf * m, meta_p meta);
135static int ngfrm_addrlen(char *hdr);
136static int ngfrm_allocate_CTX(sc_p sc, int dlci);
137
138/* Netgraph type */
139static struct ng_type typestruct = {
140 NG_VERSION,
140 NG_ABI_VERSION,
141 NG_FRAMERELAY_NODE_TYPE,
142 NULL,
143 ngfrm_constructor,
144 NULL,
145 ngfrm_rmnode,
146 ngfrm_newhook,
147 NULL,
148 NULL,

--- 373 unchanged lines hidden ---
141 NG_FRAMERELAY_NODE_TYPE,
142 NULL,
143 ngfrm_constructor,
144 NULL,
145 ngfrm_rmnode,
146 ngfrm_newhook,
147 NULL,
148 NULL,

--- 373 unchanged lines hidden ---