diff options
author | Tom Gundersen <teg@jklm.no> | 2013-10-26 18:54:16 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2013-10-27 22:23:58 +0100 |
commit | 43b3a5ef61859f06cdbaf26765cab8e1adac4296 (patch) | |
tree | b2792cf4777a8a8ec53ca8f95739fe5154cdc85b /src/udev/net/link-config.h | |
parent | 65f568bbeb9b8c70200e44c19a797df3a0bfd485 (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.h | 3 |
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; |