11573Srgrimes/*- 21573Srgrimes * Copyright (c) 1996 - 2001 Brian Somers <brian@Awfulhak.org> 31573Srgrimes * based on work by Toshiharu OHNO <tony-o@iij.ad.jp> 41573Srgrimes * Internet Initiative Japan, Inc (IIJ) 51573Srgrimes * All rights reserved. 61573Srgrimes * 71573Srgrimes * Redistribution and use in source and binary forms, with or without 81573Srgrimes * modification, are permitted provided that the following conditions 91573Srgrimes * are met: 101573Srgrimes * 1. Redistributions of source code must retain the above copyright 111573Srgrimes * notice, this list of conditions and the following disclaimer. 121573Srgrimes * 2. Redistributions in binary form must reproduce the above copyright 131573Srgrimes * notice, this list of conditions and the following disclaimer in the 141573Srgrimes * documentation and/or other materials provided with the distribution. 151573Srgrimes * 16249808Semaste * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 171573Srgrimes * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 181573Srgrimes * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 191573Srgrimes * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 201573Srgrimes * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 211573Srgrimes * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 221573Srgrimes * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 231573Srgrimes * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 241573Srgrimes * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 251573Srgrimes * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 261573Srgrimes * SUCH DAMAGE. 271573Srgrimes * 281573Srgrimes * $FreeBSD: releng/11.0/usr.sbin/ppp/arp.h 134789 2004-09-05 01:46:52Z brian $ 291573Srgrimes */ 301573Srgrimes 311573Srgrimesstruct sockaddr_dl; 321573Srgrimesstruct bundle; 331573Srgrimes 341573Srgrimesextern int arp_ClearProxy(struct bundle *, struct in_addr); 351573Srgrimesextern int arp_SetProxy(struct bundle *, struct in_addr); 3692986Sobrienextern int arp_EtherAddr(struct in_addr, struct sockaddr_dl *, int); 3792986Sobrien