/systemd/src/shared/ |
H A D | firewall-util.h | 32 int protocol, 42 int protocol, 58 int protocol, 70 int protocol, 55 fw_add_masquerade( bool add, int af, int protocol, const union in_addr_union *source, unsigned source_prefixlen, const char *out_interface, const union in_addr_union *destination, unsigned destination_prefixlen) argument 67 fw_add_local_dnat( bool add, int af, int protocol, const char *in_interface, const union in_addr_union *source, unsigned source_prefixlen, const union in_addr_union *destination, unsigned destination_prefixlen, uint16_t local_port, const union in_addr_union *remote, uint16_t remote_port, const union in_addr_union *previous_remote) argument
|
H A D | firewall-util.c | 42 int protocol, 58 entry->ip.proto = protocol; 84 int protocol, 101 if (protocol != 0 && protocol != IPPROTO_TCP && protocol != IPPROTO_UDP) 116 r = entry_fill_basics(entry, protocol, NULL, source, source_prefixlen, out_interface, destination, destination_prefixlen); 159 int protocol, 185 if (protocol != IPPROTO_TCP && protocol ! 40 entry_fill_basics( struct ipt_entry *entry, int protocol, const char *in_interface, const union in_addr_union *source, unsigned source_prefixlen, const char *out_interface, const union in_addr_union *destination, unsigned destination_prefixlen) argument 81 fw_add_masquerade( bool add, int af, int protocol, const union in_addr_union *source, unsigned source_prefixlen, const char *out_interface, const union in_addr_union *destination, unsigned destination_prefixlen) argument 156 fw_add_local_dnat( bool add, int af, int protocol, const char *in_interface, const union in_addr_union *source, unsigned source_prefixlen, const union in_addr_union *destination, unsigned destination_prefixlen, uint16_t local_port, const union in_addr_union *remote, uint16_t remote_port, const union in_addr_union *previous_remote) argument [all...] |
/systemd/src/nspawn/ |
H A D | nspawn-expose-ports.c | 38 int protocol; local 46 protocol = IPPROTO_TCP; 48 protocol = IPPROTO_UDP; 51 protocol = IPPROTO_TCP; 75 if (p->protocol == protocol && p->host_port == host_port) 82 p->protocol = protocol; 117 p->protocol, 171 p->protocol, [all...] |
H A D | nspawn-expose-ports.h | 31 int protocol; member in struct:ExposePort
|
/systemd/src/resolve/ |
H A D | resolved-dns-stream.h | 32 DnsProtocol protocol; member in struct:DnsStream 58 int dns_stream_new(Manager *m, DnsStream **s, DnsProtocol protocol, int fd);
|
H A D | resolved-dns-scope.c | 42 int dns_scope_new(Manager *m, DnsScope **ret, Link *l, DnsProtocol protocol, int family) { argument 54 s->protocol = protocol; 58 if (protocol == DNS_PROTOCOL_DNS) { 77 log_debug("New scope on link %s, protocol %s, family %s", l ? l->name : "*", dns_protocol_to_string(protocol), family == AF_UNSPEC ? "*" : af_to_name(family)); 110 log_debug("Removing scope on link %s, protocol %s, family %s", s->link ? s->link->name : "*", dns_protocol_to_string(s->protocol), s->family == AF_UNSPEC ? "*" : af_to_name(s->family)); 139 if (s->protocol != DNS_PROTOCOL_DNS) 151 if (s->protocol ! [all...] |
H A D | resolved-dns-server.h | 112 void dns_server_packet_received(DnsServer *s, int protocol, DnsServerFeatureLevel level, usec_t rtt, size_t size); 113 void dns_server_packet_lost(DnsServer *s, int protocol, DnsServerFeatureLevel level, usec_t usec);
|
H A D | resolved-dns-packet.h | 73 DnsProtocol protocol; member in struct:DnsPacket 159 int dns_packet_new(DnsPacket **p, DnsProtocol protocol, size_t mtu); 160 int dns_packet_new_query(DnsPacket **p, DnsProtocol protocol, size_t mtu, bool dnssec_checking_disabled); 250 static inline uint64_t SD_RESOLVED_FLAGS_MAKE(DnsProtocol protocol, int family, bool authenticated) { argument 253 /* Converts a protocol + family into a flags field as used in queries and responses */ 257 switch (protocol) {
|
H A D | resolved-dns-server.c | 244 void dns_server_packet_received(DnsServer *s, int protocol, DnsServerFeatureLevel level, usec_t rtt, size_t size) { argument 247 if (protocol == IPPROTO_UDP) { 264 } else if (protocol == IPPROTO_TCP) { 278 if (protocol == IPPROTO_UDP && s->received_udp_packet_max < size) 287 void dns_server_packet_lost(DnsServer *s, int protocol, DnsServerFeatureLevel level, usec_t usec) { argument 292 if (protocol == IPPROTO_UDP) 294 else if (protocol == IPPROTO_TCP) 499 assert(packet->protocol == DNS_PROTOCOL_DNS);
|
H A D | resolved-dns-query.h | 129 DnsQuestion* dns_query_question_for_protocol(DnsQuery *q, DnsProtocol protocol);
|
H A D | resolved-dns-scope.h | 44 DnsProtocol protocol; member in struct:DnsScope
|
H A D | resolved-dns-transaction.c | 254 dns_protocol_to_string(t->scope->protocol), 316 dns_protocol_to_string(t->scope->protocol), 374 assert(t->scope->protocol == DNS_PROTOCOL_DNS); 445 if (t->scope->protocol == DNS_PROTOCOL_LLMNR) { 496 switch (t->scope->protocol) { 545 r = dns_stream_new(t->scope->manager, &t->stream, t->scope->protocol, fd); 577 if (!IN_SET(t->scope->protocol, DNS_PROTOCOL_DNS, DNS_PROTOCOL_LLMNR)) 800 switch (t->scope->protocol) { 845 assert_not_reached("Invalid DNS protocol."); 871 switch (t->scope->protocol) { [all...] |
H A D | resolved-dns-stream.c | 170 if (s->protocol == DNS_PROTOCOL_LLMNR && s->ifindex > 0) { 263 r = dns_packet_new(&s->read_packet, s->protocol, be16toh(s->read_size)); 347 int dns_stream_new(Manager *m, DnsStream **ret, DnsProtocol protocol, int fd) { argument 362 s->protocol = protocol;
|
H A D | resolved-dns-trust-anchor.c | 274 _cleanup_free_ char *flags = NULL, *protocol = NULL, *algorithm = NULL, *key = NULL; local 280 r = extract_many_words(&p, NULL, 0, &flags, &protocol, &algorithm, &key, NULL); 288 if (!streq(protocol, "3")) { 320 rr->dnskey.protocol = 3; 631 if (anchor->dnskey.protocol != revoked_dnskey->dnskey.protocol)
|
H A D | resolved-manager.h | 144 int manager_recv(Manager *m, int fd, DnsProtocol protocol, DnsPacket **ret);
|
H A D | resolved-dns-packet.c | 31 int dns_packet_new(DnsPacket **ret, DnsProtocol protocol, size_t mtu) { argument 58 p->protocol = protocol; 75 switch(p->protocol) { 117 int dns_packet_new_query(DnsPacket **ret, DnsProtocol protocol, size_t mtu, bool dnssec_checking_disabled) { argument 123 r = dns_packet_new(&p, protocol, mtu); 210 switch (p->protocol) { 251 switch (p->protocol) { 966 r = dns_packet_append_uint8(p, rr->dnskey.protocol, NULL); 1547 if (p->protocol [all...] |
H A D | resolved-dns-query.c | 243 if (c->scope->protocol != DNS_PROTOCOL_DNS) 265 question = dns_query_question_for_protocol(c->query, c->scope->protocol); 691 name = dns_question_first_name(dns_query_question_for_protocol(q, s->protocol)); 734 name = dns_question_first_name(dns_query_question_for_protocol(q, s->protocol)); 867 q->answer_protocol = c->scope->protocol; 1077 DnsQuestion* dns_query_question_for_protocol(DnsQuery *q, DnsProtocol protocol) { argument 1080 switch (protocol) {
|
/systemd/src/network/ |
H A D | networkd-route.h | 37 unsigned char protocol; /* RTPROT_* */ member in struct:Route 64 int route_update(Route *route, union in_addr_union *src, unsigned char src_prefixlen, union in_addr_union *gw, union in_addr_union *prefsrc, unsigned char scope, unsigned char protocol);
|
H A D | networkd-ndisc.c | 126 route->protocol = RTPROT_RA; 177 route->protocol = RTPROT_RA;
|
H A D | networkd-route.c | 40 route->protocol = RTPROT_UNSPEC; 69 route->protocol = RTPROT_STATIC; 310 unsigned char protocol) { 321 route->protocol = protocol; 345 route->protocol); 442 route->protocol); 304 route_update(Route *route, union in_addr_union *src, unsigned char src_prefixlen, union in_addr_union *gw, union in_addr_union *prefsrc, unsigned char scope, unsigned char protocol) argument
|
/systemd/src/libsystemd/sd-netlink/ |
H A D | netlink-types.h | 68 int type_system_union_protocol_get_type_system(const NLTypeSystemUnion *type_system_union, const NLTypeSystem **ret, uint16_t protocol);
|
/systemd/src/udev/ |
H A D | udev-builtin-usb_id.c | 254 int protocol = 0; local 290 protocol = set_usb_mass_storage_ifsubtype(type_str, if_subclass, sizeof(type_str)-1); 295 log_debug("%s: if_class %d protocol %d", 296 udev_device_get_syspath(dev_interface), if_class_num, protocol); 310 if (protocol == 6 || protocol == 2) {
|
/systemd/src/libsystemd-network/ |
H A D | dhcp-packet.c | 27 #include "dhcp-protocol.h" 100 packet->ip.protocol = IPPROTO_UDP; 151 if (packet->ip.protocol != IPPROTO_UDP) {
|
/systemd/hwdb/ |
H A D | ids-update.pl | 44 my $protocol; 92 $protocol = uc $1; 98 print(OUT "usb:v*p*d*dc" . $class . "dsc" . $subclass . "dp" . $protocol . "*\n");
|
/systemd/src/basic/ |
H A D | socket-util.c | 221 a->protocol = family; 307 r = netlink_family_to_string_alloc(a->protocol, &sfamily); 386 if (a->protocol != b->protocol) 468 if (a->protocol != 0) { 469 solen = sizeof(b.protocol); 470 if (getsockopt(fd, SOL_SOCKET, SO_PROTOCOL, &b.protocol, &solen) < 0) 473 if (b.protocol != a->protocol)
|