/* * ip.h * * Written by Toshiharu OHNO * Copyright (c) 1993, Internet Initiative Japan, Inc. All rights reserved. * See ``COPYRIGHT.iij'' * * Rewritten by Archie Cobbs * Copyright (c) 1995-1999 Whistle Communications, Inc. All rights reserved. * See ``COPYRIGHT.whistle'' */ #ifndef _IP_H_ #define _IP_H_ #include #include #include #include #include #include #include #include #include #include #include #include #include "mbuf.h" /* * DEFINITIONS */ struct in_range { struct in_addr ipaddr; short width; }; /* * FUNCTIONS */ extern int IpShowRoutes(int ac, char *av[], void *arg); extern int IpAddrInRange(struct in_range *range, struct in_addr ipaddr); #endif