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