Michael Brown
fbc7b4dfa8
Add iSCSI initiator IQN as a setting
пре 18 година
Michael Brown
2b97d2ebc5
8-bit integers are 1 byte long, not 8...
пре 18 година
Michael Brown
b93ff48173
Added descriptive text for settings and setting types, and display it in
the option config UI.
пре 18 година
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.
пре 18 година
Michael Brown
4f506328ad
Use -ENOSPC rather than -ENOMEM, to distinguish the cases "generic out of
memory" and "no space left for DHCP options"
пре 18 година
Michael Brown
007ca97f25
Added clear_setting()
пре 18 година
Michael Brown
69b9048e1a
Added "priority" and "root-path" options
пре 18 година
Michael Brown
2863d1a1de
inet_aton() has a non-traditional return value
пре 18 година
Michael Brown
d041d74054
Tied NVO commands into the human-interactable settings code that I
completely forgot I'd written ages ago.
пре 18 година
Michael Brown
3c35a0b16d
Added cmdl_show proof-of-concept
пре 18 година
Michael Brown
dd9399f527
Added "hostname" and "ip" as sample settings
пре 18 година
Michael Brown
fe774fe356
Added ipv4 configuration type
пре 18 година
Michael Brown
7029fb8eff
Add string configuration type
пре 18 година
Michael Brown
db46972349
Added basic infrastructure for manipulating settings.
пре 18 година