diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-12-16 10:49:29 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2013-12-18 09:52:42 +0800 |
commit | b955fa07fc256b39caedb311f97fed404a63c8d5 (patch) | |
tree | 7e1e464163453eef09988287b2d0d3c40038a553 /discover/sysinfo.h | |
parent | 8b09f179fb71f13223e78ceb91f6a692053957b0 (diff) | |
download | petitboot-b955fa07fc256b39caedb311f97fed404a63c8d5.zip petitboot-b955fa07fc256b39caedb311f97fed404a63c8d5.tar.gz |
sysinfo: Add interface link status to sysinfo data
This changes adds a 'link' parameter to the interface information sent
in sysinfo messages. The discover network code populates this from the
incoming netlink messages.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover/sysinfo.h')
-rw-r--r-- | discover/sysinfo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/discover/sysinfo.h b/discover/sysinfo.h index d8ba33d..7181c99 100644 --- a/discover/sysinfo.h +++ b/discover/sysinfo.h @@ -7,8 +7,8 @@ struct discover_server; const struct system_info *system_info_get(void); -void system_info_register_interface(unsigned hwaddr_size, uint8_t *hwaddr, - const char *name); +void system_info_register_interface(unsigned int hwaddr_size, uint8_t *hwaddr, + const char *name, bool link); void system_info_register_blockdev(const char *name, const char *uuid, const char *mountpoint); |