blob: 71be8269e6c59680995a493336e7b2d848bded11 [file] [log] [blame]
Bernhard Reutner-Fischer86f5c992006-01-22 22:55:11 +00001#ifndef _IP_COMMON_H
2#define _IP_COMMON_H 1
Glenn L McGrathf112daa2002-12-01 23:04:06 +00003extern int preferred_family;
4extern char * _SL_;
5
6extern void ip_parse_common_args(int *argcp, char ***argvp);
Glenn L McGrath9a2d2722002-11-10 01:33:55 +00007extern int print_neigh(struct sockaddr_nl *who, struct nlmsghdr *n, void *arg);
Eric Andersend8fdf0c2003-01-22 01:20:35 +00008extern int ipaddr_list_or_flush(int argc, char **argv, int flush);
Glenn L McGrath9a2d2722002-11-10 01:33:55 +00009extern int iproute_monitor(int argc, char **argv);
Bernhard Reutner-Fischer86f5c992006-01-22 22:55:11 +000010extern void iplink_usage(void) ATTRIBUTE_NORETURN;
Glenn L McGrath9a2d2722002-11-10 01:33:55 +000011extern void ipneigh_reset_filter(void);
Glenn L McGrath9a2d2722002-11-10 01:33:55 +000012extern int do_ipaddr(int argc, char **argv);
13extern int do_iproute(int argc, char **argv);
14extern int do_iprule(int argc, char **argv);
15extern int do_ipneigh(int argc, char **argv);
16extern int do_iptunnel(int argc, char **argv);
17extern int do_iplink(int argc, char **argv);
18extern int do_ipmonitor(int argc, char **argv);
19extern int do_multiaddr(int argc, char **argv);
20extern int do_multiroute(int argc, char **argv);
Bernhard Reutner-Fischer86f5c992006-01-22 22:55:11 +000021#endif /* ip_common.h */