| /systemd/src/resolve/ |
| H A D | resolved-dns-packet.h | 31 typedef struct DnsPacket DnsPacket; typedef in typeref:struct:DnsPacket 71 struct DnsPacket { struct 92 DnsPacket *more; 100 static inline uint8_t* DNS_PACKET_DATA(DnsPacket *p) { 107 return ((uint8_t*) p) + ALIGN(sizeof(DnsPacket)); 121 static inline uint16_t DNS_PACKET_RCODE(DnsPacket *p) { 152 static inline unsigned DNS_PACKET_RRCOUNT(DnsPacket *p) { 159 int dns_packet_new(DnsPacket **p, DnsProtocol protocol, size_t mtu); 160 int dns_packet_new_query(DnsPacket ** [all...] |
| H A D | resolved-dns-stream.h | 47 DnsPacket *write_packet, *read_packet; 61 int dns_stream_write_packet(DnsStream *s, DnsPacket *p);
|
| H A D | resolved-manager.h | 142 int manager_write(Manager *m, int fd, DnsPacket *p); 143 int manager_send(Manager *m, int fd, int ifindex, int family, const union in_addr_union *addr, uint16_t port, DnsPacket *p); 144 int manager_recv(Manager *m, int fd, DnsProtocol protocol, DnsPacket **ret); 152 bool manager_our_packet(Manager *m, DnsPacket *p); 153 DnsScope* manager_find_scope(Manager *m, DnsPacket *p);
|
| H A D | resolved-dns-scope.h | 83 int dns_scope_emit_udp(DnsScope *s, int fd, DnsPacket *p); 96 void dns_scope_process_query(DnsScope *s, DnsStream *stream, DnsPacket *p); 101 void dns_scope_check_conflicts(DnsScope *scope, DnsPacket *p);
|
| H A D | resolved-dns-packet.c | 31 int dns_packet_new(DnsPacket **ret, DnsProtocol protocol, size_t mtu) { 32 DnsPacket *p; 46 a = PAGE_ALIGN(ALIGN(sizeof(DnsPacket)) + a) - ALIGN(sizeof(DnsPacket)); 52 p = malloc0(ALIGN(sizeof(DnsPacket)) + a); 67 void dns_packet_set_flags(DnsPacket *p, bool dnssec_checking_disabled, bool truncated) { 117 int dns_packet_new_query(DnsPacket **ret, DnsProtocol protocol, size_t mtu, bool dnssec_checking_disabled) { 118 DnsPacket *p; 136 DnsPacket *dns_packet_ref(DnsPacket * [all...] |
| H A D | resolved-dns-cache.h | 52 int dns_cache_export_shared_to_packet(DnsCache *cache, DnsPacket *p);
|
| H A D | resolved-dns-transaction.h | 78 DnsPacket *sent, *received; 149 void dns_transaction_process_reply(DnsTransaction *t, DnsPacket *p);
|
| H A D | resolved-dns-scope.c | 177 static int dns_scope_emit_one(DnsScope *s, int fd, DnsPacket *p) { 273 int dns_scope_emit_udp(DnsScope *s, int fd, DnsPacket *p) { 601 DnsPacket **ret) { 603 _cleanup_(dns_packet_unrefp) DnsPacket *p = NULL; 667 static void dns_scope_verify_conflicts(DnsScope *s, DnsPacket *p) { 681 void dns_scope_process_query(DnsScope *s, DnsStream *stream, DnsPacket *p) { 682 _cleanup_(dns_packet_unrefp) DnsPacket *reply = NULL; 796 DnsPacket **ret) { 798 _cleanup_(dns_packet_unrefp) DnsPacket *p = NULL; 852 _cleanup_(dns_packet_unrefp) DnsPacket * [all...] |
| H A D | resolved-dns-server.h | 121 int dns_server_adjust_opt(DnsServer *server, DnsPacket *packet, DnsServerFeatureLevel level);
|
| H A D | resolved-manager.c | 608 int manager_recv(Manager *m, int fd, DnsProtocol protocol, DnsPacket **ret) { 609 _cleanup_(dns_packet_unrefp) DnsPacket *p = NULL; 787 int manager_write(Manager *m, int fd, DnsPacket *p) { 799 static int manager_ipv4_send(Manager *m, int fd, int ifindex, const struct in_addr *addr, uint16_t port, DnsPacket *p) { 848 static int manager_ipv6_send(Manager *m, int fd, int ifindex, const struct in6_addr *addr, uint16_t port, DnsPacket *p) { 898 int manager_send(Manager *m, int fd, int ifindex, int family, const union in_addr_union *addr, uint16_t port, DnsPacket *p) { 1032 bool manager_our_packet(Manager *m, DnsPacket *p) { 1039 DnsScope* manager_find_scope(Manager *m, DnsPacket *p) {
|
| H A D | resolved-mdns.c | 71 _cleanup_(dns_packet_unrefp) DnsPacket *p = NULL;
|
| H A D | resolved-dns-transaction.c | 239 static void dns_transaction_tentative(DnsTransaction *t, DnsPacket *p) { 429 _cleanup_(dns_packet_unrefp) DnsPacket *p = NULL; 782 void dns_transaction_process_reply(DnsTransaction *t, DnsPacket *p) { 1013 _cleanup_(dns_packet_unrefp) DnsPacket *p = NULL; 1294 _cleanup_(dns_packet_unrefp) DnsPacket *p = NULL; 1397 _cleanup_(dns_packet_unrefp) DnsPacket *p = NULL;
|
| H A D | resolved-dns-stream.c | 392 int dns_stream_write_packet(DnsStream *s, DnsPacket *p) {
|
| H A D | resolved-llmnr.c | 88 _cleanup_(dns_packet_unrefp) DnsPacket *p = NULL;
|
| H A D | resolved-dns-server.c | 492 int dns_server_adjust_opt(DnsServer *server, DnsPacket *packet, DnsServerFeatureLevel level) {
|
| H A D | resolve-tool.c | 377 _cleanup_(dns_packet_unrefp) DnsPacket *p = NULL;
|
| H A D | resolved-dns-cache.c | 982 int dns_cache_export_shared_to_packet(DnsCache *cache, DnsPacket *p) {
|
| H A D | resolved-dns-rr.c | 1178 DnsPacket packet = { 1193 * 6.2. We allocate a throw-away DnsPacket object on the stack 1195 * management, and can reuse the DnsPacket serializer, that
|