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