146686Sbrian/*- 2330449Seadler * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3330449Seadler * 446686Sbrian * Copyright (c) 1999 Brian Somers <brian@Awfulhak.org> 546686Sbrian * All rights reserved. 646686Sbrian * 746686Sbrian * Redistribution and use in source and binary forms, with or without 846686Sbrian * modification, are permitted provided that the following conditions 946686Sbrian * are met: 1046686Sbrian * 1. Redistributions of source code must retain the above copyright 1146686Sbrian * notice, this list of conditions and the following disclaimer. 1246686Sbrian * 2. Redistributions in binary form must reproduce the above copyright 1346686Sbrian * notice, this list of conditions and the following disclaimer in the 1446686Sbrian * documentation and/or other materials provided with the distribution. 1546686Sbrian * 1646686Sbrian * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1746686Sbrian * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1846686Sbrian * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1946686Sbrian * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 2046686Sbrian * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2146686Sbrian * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2246686Sbrian * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2346686Sbrian * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2446686Sbrian * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2546686Sbrian * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2646686Sbrian * SUCH DAMAGE. 2746686Sbrian * 2850479Speter * $FreeBSD: stable/11/usr.sbin/ppp/tcp.h 330449 2018-03-05 07:26:05Z eadler $ 2946686Sbrian */ 3046686Sbrian 3147061Sbrianstruct physical; 3247061Sbrian 3347061Sbrianextern struct device *tcp_Create(struct physical *); 3447061Sbrianextern struct device *tcp_iov2device(int, struct physical *, 3552942Sbrian struct iovec *, int *, int, int *, int *); 3647769Sbrian#define tcp_DeviceSize physical_DeviceSize 37