summaryrefslogtreecommitdiffstats
path: root/src/net/udp/tftp.c
diff options
context:
space:
mode:
authorPavel Krotkiy2024-04-03 13:52:56 +0200
committerMichael Brown2024-04-03 13:53:46 +0200
commit59f27d69358efc919b50760f3d6dac0b637b5488 (patch)
treea0281105d400ac6bbee62003ac6dc4b19b61965e /src/net/udp/tftp.c
parent[efi] Restructure handling of autoexec.ipxe script (diff)
downloadipxe-59f27d69358efc919b50760f3d6dac0b637b5488.tar.gz
ipxe-59f27d69358efc919b50760f3d6dac0b637b5488.tar.xz
ipxe-59f27d69358efc919b50760f3d6dac0b637b5488.zip
[netdevice] Add "linktype" setting
Add a new setting to provide access to the link layer protocol type from scripts. This can be useful in order to skip configuring interfaces based on their link layer protocol or, conversely, configure only selected interface types (Ethernet, IPoIB, etc.) Example script: set idx:int32 0 :loop isset ${net${idx}/mac} || exit 0 iseq ${net${idx}/linktype} IPoIB && goto try_next || autoboot net${idx} || :try_next inc idx && goto loop Signed-off-by: Pavel Krotkiy <porsh@nebius.com> Modified-by: Michael Brown <mcb30@ipxe.org> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/udp/tftp.c')
0 files changed, 0 insertions, 0 deletions