tcp.h revision 50479
1248843Sadrian/*-
2248843Sadrian * Copyright (c) 1999 Brian Somers <brian@Awfulhak.org>
3248843Sadrian * All rights reserved.
4248843Sadrian *
5248843Sadrian * Redistribution and use in source and binary forms, with or without
6248843Sadrian * modification, are permitted provided that the following conditions
7248843Sadrian * are met:
8248843Sadrian * 1. Redistributions of source code must retain the above copyright
9248843Sadrian *    notice, this list of conditions and the following disclaimer.
10248843Sadrian * 2. Redistributions in binary form must reproduce the above copyright
11248843Sadrian *    notice, this list of conditions and the following disclaimer in the
12248843Sadrian *    documentation and/or other materials provided with the distribution.
13248843Sadrian *
14248843Sadrian * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15248843Sadrian * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16248843Sadrian * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17248843Sadrian * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18248843Sadrian * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19248843Sadrian * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20248843Sadrian * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21248843Sadrian * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22248843Sadrian * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23248843Sadrian * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24248843Sadrian * SUCH DAMAGE.
25248843Sadrian *
26248843Sadrian * $FreeBSD: head/usr.sbin/ppp/tcp.h 50479 1999-08-28 01:35:59Z peter $
27248843Sadrian */
28248843Sadrian
29248843Sadrianstruct physical;
30248843Sadrian
31248843Sadrianextern struct device *tcp_Create(struct physical *);
32248843Sadrianextern struct device *tcp_iov2device(int, struct physical *,
33248843Sadrian                                     struct iovec *, int *, int);
34248843Sadrian#define tcp_DeviceSize physical_DeviceSize
35248843Sadrian