route.h revision 32616
113389Sphk/* 213389Sphk * User Process PPP 313389Sphk * 413389Sphk * Written by Toshiharu OHNO (tony-o@iij.ad.jp) 513389Sphk * 613389Sphk * Copyright (C) 1993, Internet Initiative Japan, Inc. All rights reserverd. 713389Sphk * 813389Sphk * Redistribution and use in source and binary forms are permitted 913389Sphk * provided that the above copyright notice and this paragraph are 1013389Sphk * duplicated in all such forms and that any documentation, 1113389Sphk * advertising materials, and other materials related to such 1213389Sphk * distribution and use acknowledge that the software was developed 1313389Sphk * by the Internet Initiative Japan, Inc. The name of the 1413389Sphk * IIJ may not be used to endorse or promote products derived 1513389Sphk * from this software without specific prior written permission. 1613389Sphk * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 1713389Sphk * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 1813389Sphk * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 1913389Sphk * 2032616Sbrian * $Id: route.h,v 1.9 1997/12/30 02:45:48 brian Exp $ 2113389Sphk * 2213389Sphk */ 2313389Sphk 2430715Sbrianextern int GetIfIndex(char *); 2531343Sbrianextern int ShowRoute(struct cmdargs const *); 2632109Sbrianextern void OsSetRoute(int, struct in_addr, struct in_addr, struct in_addr,int); 2730715Sbrianextern void DeleteIfRoutes(int); 2831690Sbrianextern struct in_addr ChooseHisAddr(const struct in_addr); 2932616Sbrianextern const char *Index2Nam(int); 30