Searched refs:option (Results 1 - 25 of 92) sorted by relevance

1234

/systemd/src/libsystemd-network/
H A Dsd-dhcp-lease.c10 (at your option) any later version.
270 struct sd_dhcp_raw_option *option = lease->private_options; local
272 LIST_REMOVE(options, lease->private_options, option);
274 free(option->data);
275 free(option);
290 static int lease_parse_u32(const uint8_t *option, size_t len, uint32_t *ret, uint32_t min) { argument
291 assert(option);
297 *ret = unaligned_read_be32((be32_t*) option);
304 static int lease_parse_u16(const uint8_t *option, size_t len, uint16_t *ret, uint16_t min) { argument
305 assert(option);
318 lease_parse_be32(const uint8_t *option, size_t len, be32_t *ret) argument
329 lease_parse_string(const uint8_t *option, size_t len, char **ret) argument
356 lease_parse_domain(const uint8_t *option, size_t len, char **ret) argument
388 lease_parse_in_addrs(const uint8_t *option, size_t len, struct in_addr **ret, size_t *n_ret) argument
417 lease_parse_routes( const uint8_t *option, size_t len, struct sd_dhcp_route **routes, size_t *routes_size, size_t *routes_allocated) argument
462 lease_parse_classless_routes( const uint8_t *option, size_t len, struct sd_dhcp_route **routes, size_t *routes_size, size_t *routes_allocated) argument
512 dhcp_lease_parse_options(uint8_t code, uint8_t len, const void *option, void *userdata) argument
683 struct sd_dhcp_raw_option *cur, *option; local
729 struct sd_dhcp_raw_option *option; local
[all...]
H A Ddhcp-option.c9 (at your option) any later version.
36 /* always make sure there is space for an END option */
146 const uint8_t *option; local
168 option = &options[offset];
176 *message_type = *option;
188 if (memchr(option, 0, len - 1))
191 string = strndup((const char *) option, len);
209 *overload = *option;
215 cb(code, len, option, userdata);
H A Ddhcp6-option.c9 (at your option) any later version.
46 DHCP6Option *option = (DHCP6Option*) *buf; local
55 option->code = htobe16(optcode);
56 option->len = htobe16(optlen);
142 DHCP6Option *option = (DHCP6Option*) *buf; local
152 len = be16toh(option->len);
157 *optcode = be16toh(option->code);
292 log_dhcp6_client(client, "Unknown IA option %d", opt);
H A Ddhcp-lease-internal.h12 (at your option) any later version.
94 int dhcp_lease_parse_options(uint8_t code, uint8_t len, const void *option, void *userdata);
H A Ddhcp-internal.h12 (at your option) any later version.
46 const void *option, void *userdata);
/systemd/src/cryptsetup/
H A Dcryptsetup.c9 (at your option) any later version.
70 static int parse_one_option(const char *option) { argument
71 assert(option);
74 if (STR_IN_SET(option, "noauto", "auto", "nofail", "fail"))
77 if (startswith(option, "cipher=")) {
80 t = strdup(option+7);
87 } else if (startswith(option, "size=")) {
89 if (safe_atou(option+5, &arg_key_size) < 0) {
101 } else if (startswith(option, "key-slot=")) {
104 if (safe_atoi(option
[all...]
/systemd/src/udev/
H A Dudev-builtin-hwdb.c9 (at your option) any later version.
131 static const struct option options[] = {
148 int option; local
150 option = getopt_long(argc, argv, "f:d:s:p:", options, NULL);
151 if (option == -1)
154 switch (option) {
H A Dudev-builtin-blkid.c10 * (at your option) any later version.
237 static const struct option options[] = {
244 int option; local
246 option = getopt_long(argc, argv, "oR", options, NULL);
247 if (option == -1)
250 switch (option) {
H A Dudevadm-control.c7 * (at your option) any later version.
47 static const struct option options[] = {
H A Dudevadm-settle.c9 * (at your option) any later version.
44 static const struct option options[] = {
/systemd/src/udev/scsi_id/
H A Dscsi_id.c8 * (at your option) any later version.
40 static const struct option options[] = {
331 int option; local
339 while ((option = getopt_long(argc, argv, "d:f:gp:uvVxh", options, NULL)) >= 0)
340 switch (option) {
405 assert_not_reached("Unknown option");
422 int option; local
431 option = getopt_long(newargc, newargv, "bgp:", options, NULL);
432 if (option == -1)
435 switch (option) {
[all...]
/systemd/src/hostname/
H A Dorg.freedesktop.hostname1.conf11 (at your option) any later version.
/systemd/src/locale/
H A Dorg.freedesktop.locale1.conf11 (at your option) any later version.
/systemd/src/resolve/
H A Dorg.freedesktop.resolve1.conf11 (at your option) any later version.
/systemd/src/timedate/
H A Dorg.freedesktop.timedate1.conf11 (at your option) any later version.
/systemd/src/import/
H A Dorg.freedesktop.import1.conf11 (at your option) any later version.
/systemd/src/network/
H A Dorg.freedesktop.network1.conf11 (at your option) any later version.
H A Dnetworkd-wait-online.c10 (at your option) any later version.
54 static const struct option options[] = {
107 assert_not_reached("Unhandled option");
/systemd/src/detect-virt/
H A Ddetect-virt.c9 (at your option) any later version.
54 static const struct option options[] = {
100 assert_not_reached("Unhandled option");
/systemd/src/machine-id-setup/
H A Dmachine-id-setup-main.c9 (at your option) any later version.
51 static const struct option options[] = {
89 assert_not_reached("Unhandled option");
/systemd/src/udev/v4l_id/
H A Dv4l_id.c8 * License, or (at your option) any later version.
33 static const struct option options[] = {
55 assert_not_reached("Unhandled option");
/systemd/src/udev/collect/
H A Dcollect.c18 * (at your option) any later version.
349 static const struct option options[] = {
371 int option; local
373 option = getopt_long(argc, argv, "ardh", options, NULL);
374 if (option == -1)
377 switch (option) {
/systemd/src/journal/
H A Dcat.c9 (at your option) any later version.
57 static const struct option options[] = {
112 assert_not_reached("Unhandled option");
/systemd/src/systemd/
H A Dsd-dhcp6-client.h12 (at your option) any later version.
52 /* option code 10 is unassigned */
69 /* option code 35 is unassigned */
73 /* option codes 89-142 are unassigned */
74 /* option codes 144-65535 are unassigned */
93 uint16_t option);
/systemd/src/ask-password/
H A Dask-password.c9 (at your option) any later version.
67 static const struct option options[] = {
132 assert_not_reached("Unhandled option");

Completed in 7294 milliseconds

1234