152942Sbrian/*-
252942Sbrian * Copyright (c) 1999 Brian Somers <brian@Awfulhak.org>
352942Sbrian * All rights reserved.
452942Sbrian *
552942Sbrian * Redistribution and use in source and binary forms, with or without
652942Sbrian * modification, are permitted provided that the following conditions
752942Sbrian * are met:
852942Sbrian * 1. Redistributions of source code must retain the above copyright
952942Sbrian *    notice, this list of conditions and the following disclaimer.
1052942Sbrian * 2. Redistributions in binary form must reproduce the above copyright
1152942Sbrian *    notice, this list of conditions and the following disclaimer in the
1252942Sbrian *    documentation and/or other materials provided with the distribution.
1352942Sbrian *
1452942Sbrian * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1552942Sbrian * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1652942Sbrian * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1752942Sbrian * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1852942Sbrian * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1952942Sbrian * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2052942Sbrian * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2152942Sbrian * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2252942Sbrian * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2352942Sbrian * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2452942Sbrian * SUCH DAMAGE.
2552942Sbrian *
2652942Sbrian * $FreeBSD: releng/11.0/usr.sbin/ppp/ether.h 134789 2004-09-05 01:46:52Z brian $
2752942Sbrian */
2852942Sbrian
2952942Sbrianstruct physical;
3052942Sbrianstruct device;
3152942Sbrian
3253733Sbrian#define DEF_ETHERCDDELAY	5	/* Default ``set cd'' value */
3353733Sbrian
3452942Sbrianextern struct device *ether_Create(struct physical *);
3552942Sbrianextern struct device *ether_iov2device(int, struct physical *, struct iovec *,
3652942Sbrian                                       int *, int, int *, int *);
37134789Sbrianextern unsigned ether_DeviceSize(void);
38