Michael Brown
fbc7b4dfa8
Add iSCSI initiator IQN as a setting
před 18 roky
Michael Brown
2b97d2ebc5
8-bit integers are 1 byte long, not 8...
před 18 roky
Michael Brown
b93ff48173
Added descriptive text for settings and setting types, and display it in
the option config UI.
před 18 roky
Michael Brown
35edecac34
Move {show,set,clear}_setting() to {show,set,clear}_named_setting().
Introduce new {show,set,clear}_setting() that take a struct setting *
rather than a const char *.
set_setting() handles calling clear_setting() when appropriate, so that
individual setting types don't have to check for empty strings.
před 18 roky
Michael Brown
4f506328ad
Use -ENOSPC rather than -ENOMEM, to distinguish the cases "generic out of
memory" and "no space left for DHCP options"
před 18 roky
Michael Brown
007ca97f25
Added clear_setting()
před 18 roky
Michael Brown
69b9048e1a
Added "priority" and "root-path" options
před 18 roky
Michael Brown
2863d1a1de
inet_aton() has a non-traditional return value
před 18 roky
Michael Brown
d041d74054
Tied NVO commands into the human-interactable settings code that I
completely forgot I'd written ages ago.
před 18 roky
Michael Brown
3c35a0b16d
Added cmdl_show proof-of-concept
před 18 roky
Michael Brown
dd9399f527
Added "hostname" and "ip" as sample settings
před 18 roky
Michael Brown
fe774fe356
Added ipv4 configuration type
před 18 roky
Michael Brown
7029fb8eff
Add string configuration type
před 18 roky
Michael Brown
db46972349
Added basic infrastructure for manipulating settings.
před 18 roky