]> xenbits.xensource.com Git - unikraft/libs/click.git/commit
Provide MAC preamble
authorFlorian Schmidt <florian.schmidt@neclab.eu>
Wed, 5 Jun 2019 12:43:31 +0000 (14:43 +0200)
committerFelipe Huici <felipe.huici@neclab.eu>
Wed, 5 Jun 2019 12:57:29 +0000 (14:57 +0200)
commitf4cf9b05ab684d96005959e1cf4075670654a2bc
tree6e18cb023b598f613a7b1d0e2e4309c6022e3ac8
parent8876e52f2f74f10ab5c78d8e054f79cd8dd1f1e3
Provide MAC preamble

We create a config script snippet that defines a "MAC0", "MAC1", etc.
variable for each network device. This is prepended to the user-provided
config, so that users can use those variables to access the MAC
addresses of network devices.

Signed-off-by: Florian Schmidt <florian.schmidt@neclab.eu>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
click.cc
include/static_config.h