summaryrefslogtreecommitdiffstats
path: root/rules/iproute2.in
blob: 0c83741094a627b1f4628abca6c8b00ddc43bcf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
## SECTION=networking

menuconfig IPROUTE2
	tristate
	prompt "iproute2                      "
	select HOST_FLEX
	select DB		if IPROUTE2_ARPD
	select GCCLIBS_GCC_S	if IPROUTE2_IP || IPROUTE2_TC
	select LIBC_DL
	select LIBC_M
	select LIBC_PTHREAD	if IPROUTE2_ARPD
	select LIBC_RESOLV
	select LIBMNL		if IPROUTE2_DEVLINK
	select PYTHON3		if IPROUTE2_ROUTEL && RUNTIME
	help
	  Networking and traffic control tools

	  The iproute suite, also known as iproute2, is a collection
	  of utilities for networking and traffic control.

	  These tools communicate with the Linux kernel via the
	  (rt)netlink interface, providing advanced features not
	  available through the legacy net-tools commands 'ifconfig'
	  and 'route'.

if IPROUTE2

config IPROUTE2_ARPD
	bool
	prompt "arpd"
	help
	  Enabling this entry will enlarge your system by the berkely
	  DB4.x library.

config IPROUTE2_BRIDGE
	bool
	prompt "bridge"
	help
	  Show / manipulate bridge addresses and devices

config IPROUTE2_CTSTAT
	bool
	prompt "ctstat"
	help
	  The connection status utility. Maybe linked to lnstat.

config IPROUTE2_DEVLINK
	bool
	prompt "devlink"
	help
	  The devlink utility.

config IPROUTE2_GENL
	bool
	prompt "genl"
	help
	  Generic Netlink

config IPROUTE2_IP
	bool
	depends on !BUSYBOX_IP || ALLYES
	prompt "ip"
	help
	  The main tool. Well known as in "ip addr" or "ip route".

comment "busybox' ip is selected"
	depends on BUSYBOX_IP

config IPROUTE2_IFSTAT
	bool
	prompt "ifstat"
	help
	  handy utility to read net interface statistics

config IPROUTE2_LNSTAT
	bool
	prompt "lnstat"
	help
	  lnstat is a generalized and more feature-complete replacement
	  for the old rtstat program. In addition to routing cache
	  statistics, it supports any kind of statistics the linux
	  kernel exports via a file in /proc/net/stat/.

config IPROUTE2_NSTAT
	bool
	prompt "nstat"
	help
	  handy utility to read counters /proc/net/netstat and snmp

config IPROUTE2_ROUTEL
	bool
	prompt "routel"
	help
	  Component of ip route for listing the routing tables
	  This component requires Python3 at run-time

config IPROUTE2_RTACCT
	bool
	prompt "rtacct"
	help
	  Used to display the contents of /proc/net/rt_acct

config IPROUTE2_RTMON
	bool
	prompt "rtmon"
	help
	  Route monitoring

config IPROUTE2_RTSTAT
	bool
	prompt "rtstat"
	help
	  Route status utility, maybe linked to lnstat.

config IPROUTE2_SS
	bool
	prompt "ss"
	help
	  ss is used to dump socket statistics. It allows showing
	  information similar to netstat. It can display more TCP
	  and state information than other tools.

config IPROUTE2_TC
	bool
	depends on !BUSYBOX_TC || ALLYES
	prompt "tc"
	help
	  tc is used to configure Traffic Control in the Linux Kernel, which
	  consists of Shaping, Scheduling, Policing and Dropping.
	  Processing of traffic is controlled by qdiscs, classes and filters.

comment "busybox' tc is selected"
	depends on BUSYBOX_TC

endif