summaryrefslogtreecommitdiff
path: root/src/udev/net/link-config.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2013-10-26 18:54:16 +0200
committerTom Gundersen <teg@jklm.no>2013-10-27 22:23:58 +0100
commit43b3a5ef61859f06cdbaf26765cab8e1adac4296 (patch)
treeb2792cf4777a8a8ec53ca8f95739fe5154cdc85b /src/udev/net/link-config.h
parent65f568bbeb9b8c70200e44c19a797df3a0bfd485 (diff)
udev: link-config: add rtnl support
This adds support for setting the mac address, name and mtu. Example: [Link] MTU=1450 MACAddress=98:76:54:32:10:ab Name=wireless0
Diffstat (limited to 'src/udev/net/link-config.h')
-rw-r--r--src/udev/net/link-config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/udev/net/link-config.h b/src/udev/net/link-config.h
index 57d2c9c3cd..849e481520 100644
--- a/src/udev/net/link-config.h
+++ b/src/udev/net/link-config.h
@@ -38,6 +38,9 @@ struct link_config {
char *match_type;
char *description;
+ char *mac;
+ char *name;
+ unsigned int mtu;
unsigned int speed;
char *duplex;
char *wol;