Searched defs:type (Results 1 - 25 of 157) sorted by relevance

1234567

/systemd/src/udev/
H A Dudevadm-util.c33 char type; local
39 type = 'b';
41 type = 'c';
45 return udev_device_new_from_devnum(udev, type, statbuf.st_rdev);
/systemd/src/core/
H A Dbus-policy.h44 BusNamePolicyType type; member in struct:BusNamePolicy
H A Dselinux-setup.c37 static int null_log(int type, const char *fmt, ...) { argument
/systemd/src/import/
H A Dimport-compress.h40 ImportCompressType type; member in struct:ImportCompress
/systemd/src/libsystemd-network/
H A Ddhcp-identifier.h29 * A DUID can be no more than 128 octets long (not including the type code).
34 uint16_t type; member in struct:duid
H A Ddhcp6-internal.h44 uint16_t type; member in struct:DHCP6IA
H A Dlldp-internal.h36 uint8_t type; member in struct:lldp_neighbour_port
58 uint8_t type; member in struct:lldp_chassis_id
H A Ddhcp-packet.c32 uint8_t type, uint16_t arp_type, size_t optlen,
47 SD_DHCP_OPTION_MESSAGE_TYPE, 1, &type);
31 dhcp_message_init(DHCPMessage *message, uint8_t op, uint32_t xid, uint8_t type, uint16_t arp_type, size_t optlen, size_t *optoffset) argument
H A Dlldp-tlv.h37 uint16_t type; member in struct:sd_lldp_section
58 uint16_t type; member in struct:sd_lldp_packet
75 int lldp_tlv_packet_open_container(tlv_packet *m, uint16_t type);
84 int lldp_tlv_packet_enter_container(tlv_packet *m, uint16_t type);
/systemd/src/login/
H A Dlogind-session-device.h42 DeviceType type; member in struct:SessionDevice
/systemd/src/resolve/
H A Dresolved-dns-search-domain.h39 DnsSearchDomainType type; member in struct:DnsSearchDomain
54 DnsSearchDomainType type,
H A Dtest-dnssec-complex.c27 #include "dns-type.h"
55 static void test_rr_lookup(sd_bus *bus, const char *name, uint16_t type, const char *result) { argument
75 assert_se(sd_bus_message_append(req, "isqqt", 0, name, DNS_CLASS_IN, type, UINT64_C(0)) >= 0);
82 log_info("[OK] %s/%s resulted in <%s>.", name, dns_type_to_string(type), error.name);
85 log_info("[OK] %s/%s succeeded.", name, dns_type_to_string(type));
H A Ddns-type.c22 #include "dns-type.h"
27 uint16_t type; member in struct:__anon221
58 bool dns_type_is_pseudo(uint16_t type) { argument
60 /* Checks whether the specified type is a "pseudo-type". What
61 * a "pseudo-type" precisely is, is defined only very weakly,
64 * cached. We use this list primarily to validate NSEC type
67 return IN_SET(type,
68 0, /* A Pseudo RR type, according to RFC 2931 */
82 bool dns_type_is_valid_query(uint16_t type) { argument
99 dns_type_is_valid_rr(uint16_t type) argument
114 dns_type_may_redirect(uint16_t type) argument
133 dns_type_may_wildcard(uint16_t type) argument
148 dns_type_apex_only(uint16_t type) argument
159 dns_type_is_dnssec(uint16_t type) argument
169 dns_type_is_obsolete(uint16_t type) argument
[all...]
H A Dresolved-conf.c28 int manager_add_dns_server_by_string(Manager *m, DnsServerType type, const char *word) { argument
41 s = dns_server_find(manager_get_first_dns_server(m, type), family, &address);
53 return dns_server_new(m, NULL, type, NULL, family, &address);
56 int manager_parse_dns_server_string_and_warn(Manager *m, DnsServerType type, const char *string) { argument
71 r = manager_add_dns_server_by_string(m, type, word);
H A Dresolved-dns-search-domain.c27 DnsSearchDomainType type,
36 assert((type == DNS_SEARCH_DOMAIN_LINK) == !!l);
57 d->type = type;
61 switch (type) {
75 assert_not_reached("Unknown search domain type");
119 switch (d->type) {
153 switch (d->type) {
169 assert_not_reached("Unknown search domain type");
24 dns_search_domain_new( Manager *m, DnsSearchDomain **ret, DnsSearchDomainType type, Link *l, const char *name) argument
/systemd/src/timesync/
H A Dtimesyncd-server.c71 ServerType type,
83 n->type = type;
90 if (type == SERVER_SYSTEM) {
93 } else if (type == SERVER_LINK) {
96 } else if (type == SERVER_FALLBACK) {
100 assert_not_reached("Unknown server type");
104 if (type != SERVER_FALLBACK &&
106 m->current_server_name->type == SERVER_FALLBACK)
124 if (n->type
68 server_name_new( Manager *m, ServerName **ret, ServerType type, const char *string) argument
[all...]
H A Dtimesyncd-server.h48 ServerType type; member in struct:ServerName
63 int server_name_new(Manager *m, ServerName **ret, ServerType type,const char *string);
/systemd/src/nspawn/
H A Dnspawn-mount.h41 CustomMountType type; member in struct:CustomMount
/systemd/src/shared/
H A Dmachine-image.h39 ImageType type; member in struct:Image
/systemd/src/basic/
H A Dsocket-label.c70 fd = socket(socket_address_family(a), a->type | flags, a->protocol);
148 int make_socket_fd(int log_level, const char* address, int type, int flags) { argument
156 a.type = type;
158 fd = socket_address_listen(&a, type | flags, SOMAXCONN, SOCKET_ADDRESS_DEFAULT,
H A Dsocket-util.h52 /* Socket type, i.e. SOCK_STREAM, SOCK_DGRAM, ... */
53 int type; member in struct:SocketAddress
90 int make_socket_fd(int log_level, const char* address, int type, int flags);
92 bool socket_address_is(const SocketAddress *a, const char *s, int type);
/systemd/src/libsystemd/sd-bus/
H A Dbus-introspect.c77 static void introspect_write_flags(struct introspect *i, int type, int flags) { argument
81 if (type == _SD_BUS_VTABLE_METHOD && (flags & SD_BUS_VTABLE_METHOD_NO_REPLY))
84 if (type == _SD_BUS_VTABLE_PROPERTY || type == _SD_BUS_VTABLE_WRITABLE_PROPERTY) {
97 (type == _SD_BUS_VTABLE_METHOD || type == _SD_BUS_VTABLE_WRITABLE_PROPERTY) &&
115 fprintf(i->f, " <arg type=\"%.*s\"", (int) l, signature);
130 for (; v->type != _SD_BUS_VTABLE_END; v++) {
136 if (v->type != _SD_BUS_VTABLE_START && (v->flags & SD_BUS_VTABLE_HIDDEN))
139 switch (v->type) {
[all...]
H A Dbus-slot.c31 BusSlotType type,
44 slot->type = type;
76 switch (slot->type) {
143 for (v = slot->node_vtable.vtable; v->type != _SD_BUS_VTABLE_END; v++) {
146 switch (v->type) {
188 assert_not_reached("Wut? Unknown slot type?");
193 slot->type = _BUS_SLOT_INVALID;
245 assert_return(slot->type >= 0, NULL);
255 assert_return(slot->type >
28 bus_slot_allocate( sd_bus *bus, bool floating, BusSlotType type, size_t extra, void *userdata) argument
[all...]
/systemd/src/libsystemd/sd-netlink/
H A Dlocal-addresses.c85 uint16_t type; local
92 r = sd_netlink_message_get_type(m, &type);
95 if (type != RTM_NEWADDR)
199 uint16_t type; local
208 r = sd_netlink_message_get_type(m, &type);
211 if (type != RTM_NEWROUTE)
H A Dnetlink-util.c119 bool rtnl_message_type_is_neigh(uint16_t type) { argument
120 switch (type) {
130 bool rtnl_message_type_is_route(uint16_t type) { argument
131 switch (type) {
141 bool rtnl_message_type_is_link(uint16_t type) { argument
142 switch (type) {
153 bool rtnl_message_type_is_addr(uint16_t type) { argument
154 switch (type) {

Completed in 3212 milliseconds

1234567