Searched refs:opt (Results 1 - 14 of 14) sorted by relevance

/systemd/test/mocks/
H A Dfsck5 while getopts "C:aTlM" opt; do
6 case "$opt" in
/systemd/src/shared/
H A Dfstab-util.h41 const char *opt; local
46 r = fstab_filter_options(opts, yes_no, &opt, NULL, NULL);
49 return opt == yes_no;
H A Dfstab-util.c185 _cleanup_free_ char *opt = NULL; local
191 r = fstab_filter_options(options, "pri\0", NULL, &opt, NULL);
194 if (r == 0 || !opt)
197 r = safe_atou(opt, &pri);
/systemd/src/libsystemd-network/
H A Dsd-ndisc.c415 void *opt; local
428 opt = ra + 1;
429 opt_hdr = opt;
441 opt_mtu = opt;
455 opt_prefix = opt;
463 opt = (void *)((char *)opt +
465 opt_hdr = opt;
H A Ddhcp6-option.c189 uint16_t opt, status; local
247 while ((r = option_parse_hdr(buf, buflen, &opt, &optlen)) >= 0) {
249 switch (opt) {
292 log_dhcp6_client(client, "Unknown IA option %d", opt);
H A Dsd-dhcp6-client.c338 uint8_t *opt; local
349 opt = (uint8_t *)(message + 1);
362 r = dhcp6_option_append(&opt, &optlen,
367 r = dhcp6_option_append_ia(&opt, &optlen, &client->ia_na);
381 r = dhcp6_option_append(&opt, &optlen, SD_DHCP6_OPTION_SERVERID,
387 r = dhcp6_option_append_ia(&opt, &optlen, &client->lease->ia);
396 r = dhcp6_option_append_ia(&opt, &optlen, &client->lease->ia);
407 r = dhcp6_option_append(&opt, &optlen, SD_DHCP6_OPTION_ORO,
414 r = dhcp6_option_append(&opt, &optlen, SD_DHCP6_OPTION_CLIENTID,
425 r = dhcp6_option_append(&opt,
[all...]
H A Dtest-dhcp6-client.c208 uint8_t *optval, *opt = msg_advertise + sizeof(DHCP6Message); local
229 while ((r = dhcp6_option_parse(&opt, &len, &optcode, &optlen,
329 assert_se(dhcp6_lease_get_serverid(lease, &opt, &len) >= 0);
331 assert_se(!memcmp(opt, &msg_advertise[179], len));
/systemd/src/resolve/
H A Dresolved-dns-packet.h82 DnsResourceRecord *opt; member in struct:DnsPacket
124 if (p->opt)
125 rcode = (uint16_t) (p->opt->ttl >> 24);
H A Dresolved-dns-rr.h131 } generic, opt; member in union:DnsResourceRecord::__anon231
H A Dresolved-dns-packet.c155 dns_resource_record_unref(p->opt);
2064 p = rr->opt.data;
2065 l = rr->opt.data_size;
2162 if (p->opt || bad_opt) {
2205 p->opt = dns_resource_record_ref(rr);
2226 p->opt = dns_resource_record_unref(p->opt);
H A Dresolved-dns-transaction.c942 if (!p->opt)
2944 log_debug("Data is NSEC3 opt-out via NSEC/NSEC3 for transaction %u (%s)", t->id, dns_transaction_key_string(t));
/systemd/src/gpt-auto-generator/
H A Dgpt-auto-generator.c387 _cleanup_free_ char *opt, *p = NULL; local
396 opt = strjoin(options, ",noauto", NULL);
398 opt = strdup("noauto");
399 if (!opt)
407 opt,
/systemd/src/journal-remote/
H A Djournal-upload.c69 #define easy_setopt(curl, opt, value, level, cmd) \
71 code = curl_easy_setopt(curl, opt, value); \
74 "curl_easy_setopt " #opt " failed: %s", \
/systemd/src/journal/
H A Dcompress.c62 static const lzma_options_lzma opt = { local
67 { LZMA_FILTER_LZMA2, (lzma_options_lzma*) &opt },

Completed in 5108 milliseconds