2006-07-02 19:47:05 +00:00
|
|
|
/* vi: set sw=4 ts=4: */
|
2006-01-22 22:55:11 +00:00
|
|
|
#ifndef _IP_COMMON_H
|
|
|
|
#define _IP_COMMON_H 1
|
2006-06-16 12:28:39 +00:00
|
|
|
|
|
|
|
#include "busybox.h"
|
|
|
|
#include <asm/types.h>
|
|
|
|
#include <linux/netlink.h>
|
|
|
|
#include <linux/rtnetlink.h>
|
|
|
|
|
|
|
|
|
2002-12-01 23:04:06 +00:00
|
|
|
extern int preferred_family;
|
|
|
|
extern char * _SL_;
|
|
|
|
|
|
|
|
extern void ip_parse_common_args(int *argcp, char ***argvp);
|
2002-11-10 01:33:55 +00:00
|
|
|
extern int print_neigh(struct sockaddr_nl *who, struct nlmsghdr *n, void *arg);
|
2003-01-22 01:20:35 +00:00
|
|
|
extern int ipaddr_list_or_flush(int argc, char **argv, int flush);
|
2002-11-10 01:33:55 +00:00
|
|
|
extern int iproute_monitor(int argc, char **argv);
|
2006-01-22 22:55:11 +00:00
|
|
|
extern void iplink_usage(void) ATTRIBUTE_NORETURN;
|
2002-11-10 01:33:55 +00:00
|
|
|
extern void ipneigh_reset_filter(void);
|
|
|
|
extern int do_ipaddr(int argc, char **argv);
|
|
|
|
extern int do_iproute(int argc, char **argv);
|
|
|
|
extern int do_iprule(int argc, char **argv);
|
|
|
|
extern int do_ipneigh(int argc, char **argv);
|
|
|
|
extern int do_iptunnel(int argc, char **argv);
|
|
|
|
extern int do_iplink(int argc, char **argv);
|
|
|
|
extern int do_ipmonitor(int argc, char **argv);
|
|
|
|
extern int do_multiaddr(int argc, char **argv);
|
|
|
|
extern int do_multiroute(int argc, char **argv);
|
2006-01-22 22:55:11 +00:00
|
|
|
#endif /* ip_common.h */
|