ed6a49c657
function old new delta find_pair 167 187 +20 static.families - 17 +17 die_must_be_on_off - 11 +11 ... on_off 33 22 -11 do_ipaddr 103 90 -13 do_iptunnel 1001 986 -15 iproute_list_or_flush 1237 1217 -20 static.ip_common_commands 43 22 -21 do_iproute 2217 2193 -24 parse_args 1444 1414 -30 ip_do 47 16 -31 do_iprule 994 963 -31 ip_main 153 113 -40 ipaddr_modify 1357 1305 -52 ipaddr_list_or_flush 2543 2490 -53 ip_parse_common_args 294 159 -135 ------------------------------------------------------------------------------ (add/remove: 4/1 grow/shrink: 4/24 up/down: 85/-563) Total: -478 bytes text data bss dec hex filename 775561 966 9236 785763 bfd63 busybox_old 775073 962 9236 785271 bfb77 busybox_unstripped
33 lines
953 B
C
33 lines
953 B
C
/* vi: set sw=4 ts=4: */
|
|
#ifndef _IP_COMMON_H
|
|
#define _IP_COMMON_H 1
|
|
|
|
#include "libbb.h"
|
|
#include <asm/types.h>
|
|
#include <linux/netlink.h>
|
|
#include <linux/rtnetlink.h>
|
|
#if !defined IFA_RTA
|
|
#include <linux/if_addr.h>
|
|
#endif
|
|
#if !defined IFLA_RTA
|
|
#include <linux/if_link.h>
|
|
#endif
|
|
|
|
extern char **ip_parse_common_args(char **argv);
|
|
extern int print_neigh(struct sockaddr_nl *who, struct nlmsghdr *n, void *arg);
|
|
extern int ipaddr_list_or_flush(char **argv, int flush);
|
|
extern int iproute_monitor(char **argv);
|
|
extern void iplink_usage(void) ATTRIBUTE_NORETURN;
|
|
extern void ipneigh_reset_filter(void);
|
|
|
|
extern int do_ipaddr(char **argv);
|
|
extern int do_iproute(char **argv);
|
|
extern int do_iprule(char **argv);
|
|
extern int do_ipneigh(char **argv);
|
|
extern int do_iptunnel(char **argv);
|
|
extern int do_iplink(char **argv);
|
|
extern int do_ipmonitor(char **argv);
|
|
extern int do_multiaddr(char **argv);
|
|
extern int do_multiroute(char **argv);
|
|
#endif /* ip_common.h */
|