diff options
Diffstat (limited to 'networking/libiproute/ip_common.h')
-rw-r--r-- | networking/libiproute/ip_common.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/networking/libiproute/ip_common.h b/networking/libiproute/ip_common.h new file mode 100644 index 000000000..15291780e --- /dev/null +++ b/networking/libiproute/ip_common.h | |||
@@ -0,0 +1,34 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
2 | #ifndef _IP_COMMON_H | ||
3 | #define _IP_COMMON_H 1 | ||
4 | |||
5 | #include "busybox.h" | ||
6 | #include <asm/types.h> | ||
7 | #include <linux/netlink.h> | ||
8 | #include <linux/rtnetlink.h> | ||
9 | #if !defined IFA_RTA | ||
10 | #include <linux/if_addr.h> | ||
11 | #endif | ||
12 | #if !defined IFLA_RTA | ||
13 | #include <linux/if_link.h> | ||
14 | #endif | ||
15 | |||
16 | extern int preferred_family; | ||
17 | extern char * _SL_; | ||
18 | |||
19 | extern void ip_parse_common_args(int *argcp, char ***argvp); | ||
20 | extern int print_neigh(struct sockaddr_nl *who, struct nlmsghdr *n, void *arg); | ||
21 | extern int ipaddr_list_or_flush(int argc, char **argv, int flush); | ||
22 | extern int iproute_monitor(int argc, char **argv); | ||
23 | extern void iplink_usage(void) ATTRIBUTE_NORETURN; | ||
24 | extern void ipneigh_reset_filter(void); | ||
25 | extern int do_ipaddr(int argc, char **argv); | ||
26 | extern int do_iproute(int argc, char **argv); | ||
27 | extern int do_iprule(int argc, char **argv); | ||
28 | extern int do_ipneigh(int argc, char **argv); | ||
29 | extern int do_iptunnel(int argc, char **argv); | ||
30 | extern int do_iplink(int argc, char **argv); | ||
31 | extern int do_ipmonitor(int argc, char **argv); | ||
32 | extern int do_multiaddr(int argc, char **argv); | ||
33 | extern int do_multiroute(int argc, char **argv); | ||
34 | #endif /* ip_common.h */ | ||