aboutsummaryrefslogtreecommitdiff
path: root/networking/nameif.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/nameif.c')
-rw-r--r--networking/nameif.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/networking/nameif.c b/networking/nameif.c
index cffd5bfde..31ee98a39 100644
--- a/networking/nameif.c
+++ b/networking/nameif.c
@@ -11,34 +11,34 @@
11 */ 11 */
12 12
13//config:config NAMEIF 13//config:config NAMEIF
14//config: bool "nameif" 14//config: bool "nameif (6.6 kb)"
15//config: default y 15//config: default y
16//config: select PLATFORM_LINUX 16//config: select PLATFORM_LINUX
17//config: select FEATURE_SYSLOG 17//config: select FEATURE_SYSLOG
18//config: help 18//config: help
19//config: nameif is used to rename network interface by its MAC address. 19//config: nameif is used to rename network interface by its MAC address.
20//config: Renamed interfaces MUST be in the down state. 20//config: Renamed interfaces MUST be in the down state.
21//config: It is possible to use a file (default: /etc/mactab) 21//config: It is possible to use a file (default: /etc/mactab)
22//config: with list of new interface names and MACs. 22//config: with list of new interface names and MACs.
23//config: Maximum interface name length: IFNAMSIZ = 16 23//config: Maximum interface name length: IFNAMSIZ = 16
24//config: File fields are separated by space or tab. 24//config: File fields are separated by space or tab.
25//config: File format: 25//config: File format:
26//config: # Comment 26//config: # Comment
27//config: new_interface_name XX:XX:XX:XX:XX:XX 27//config: new_interface_name XX:XX:XX:XX:XX:XX
28//config: 28//config:
29//config:config FEATURE_NAMEIF_EXTENDED 29//config:config FEATURE_NAMEIF_EXTENDED
30//config: bool "Extended nameif" 30//config: bool "Extended nameif"
31//config: default y 31//config: default y
32//config: depends on NAMEIF 32//config: depends on NAMEIF
33//config: help 33//config: help
34//config: This extends the nameif syntax to support the bus_info, driver, 34//config: This extends the nameif syntax to support the bus_info, driver,
35//config: phyaddr selectors. The syntax is compatible to the normal nameif. 35//config: phyaddr selectors. The syntax is compatible to the normal nameif.
36//config: File format: 36//config: File format:
37//config: new_interface_name driver=asix bus=usb-0000:00:08.2-3 37//config: new_interface_name driver=asix bus=usb-0000:00:08.2-3
38//config: new_interface_name bus=usb-0000:00:08.2-3 00:80:C8:38:91:B5 38//config: new_interface_name bus=usb-0000:00:08.2-3 00:80:C8:38:91:B5
39//config: new_interface_name phy_address=2 00:80:C8:38:91:B5 39//config: new_interface_name phy_address=2 00:80:C8:38:91:B5
40//config: new_interface_name mac=00:80:C8:38:91:B5 40//config: new_interface_name mac=00:80:C8:38:91:B5
41//config: new_interface_name 00:80:C8:38:91:B5 41//config: new_interface_name 00:80:C8:38:91:B5
42 42
43//applet:IF_NAMEIF(APPLET(nameif, BB_DIR_SBIN, BB_SUID_DROP)) 43//applet:IF_NAMEIF(APPLET(nameif, BB_DIR_SBIN, BB_SUID_DROP))
44 44