/systemd/src/nspawn/ |
H A D | nspawn-expose-ports.h | 31 int protocol; member in struct:ExposePort
|
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...] |
/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/resolve/ |
H A D | resolved-dns-scope.h | 44 DnsProtocol protocol; member in struct:DnsScope
|
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-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-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) {
|
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.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-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-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-manager.c | 608 int manager_recv(Manager *m, int fd, DnsProtocol protocol, DnsPacket **ret) { argument 633 r = dns_packet_new(&p, protocol, ms); 726 if (protocol != DNS_PROTOCOL_DNS) { 1049 switch (p->protocol) {
|
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-rr.h | 198 uint8_t protocol; member in struct:DnsResourceRecord::__anon231::__anon243 244 /* https://tools.ietf.org/html/draft-ietf-dane-protocol-23 */
|
/systemd/src/basic/ |
H A D | socket-util.h | 55 /* Socket protocol, IPPROTO_xxx, usually 0, except for netlink */ 56 int protocol; member in struct:SocketAddress
|
/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-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
|
H A D | networkd-manager.c | 287 unsigned char protocol, scope, tos, table; local 342 r = sd_rtnl_message_route_get_protocol(message, &protocol); 344 log_warning_errno(r, "rtnl: could not get route protocol: %m"); 455 route_update(route, &src, src_prefixlen, &gw, &prefsrc, scope, protocol);
|
/systemd/src/libsystemd/sd-netlink/ |
H A D | rtnl-message.c | 129 int sd_rtnl_message_route_get_protocol(sd_netlink_message *m, unsigned char *protocol) { argument 135 assert_return(protocol, -EINVAL); 139 *protocol = rtm->rtm_protocol;
|
H A D | netlink-types.c | 635 int type_system_union_protocol_get_type_system(const NLTypeSystemUnion *type_system_union, const NLTypeSystem **ret, uint16_t protocol) { argument 643 if (protocol >= type_system_union->num) 646 type_system = &type_system_union->type_systems[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) {
|