diff options
author | Mamadou DIOP <bossiel@yahoo.fr> | 2016-02-23 22:00:35 +0100 |
---|---|---|
committer | Mamadou DIOP <bossiel@yahoo.fr> | 2016-02-23 22:00:35 +0100 |
commit | 50dfb4359619563012997bc3ddafb7667741066c (patch) | |
tree | db234c1edc3240a653363b5735fc4077af4b8720 /tinyNET/src/dns/tnet_dns_soa.h | |
parent | 94b2219209038e05dd26395f6fb700be4d1062c0 (diff) | |
download | doubango-50dfb4359619563012997bc3ddafb7667741066c.zip doubango-50dfb4359619563012997bc3ddafb7667741066c.tar.gz |
Add new QoS implementation
Code formatting
Diffstat (limited to 'tinyNET/src/dns/tnet_dns_soa.h')
-rwxr-xr-x | tinyNET/src/dns/tnet_dns_soa.h | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/tinyNET/src/dns/tnet_dns_soa.h b/tinyNET/src/dns/tnet_dns_soa.h index 298e907..9faea75 100755 --- a/tinyNET/src/dns/tnet_dns_soa.h +++ b/tinyNET/src/dns/tnet_dns_soa.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]org> -* +* * This file is part of Open Source Doubango Framework. * * DOUBANGO is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. -* +* * DOUBANGO is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. -* +* * You should have received a copy of the GNU General Public License * along with DOUBANGO. * @@ -35,12 +35,11 @@ TNET_BEGIN_DECLS -typedef struct tnet_dns_soa_s -{ - TNET_DECLARE_DNS_RR; +typedef struct tnet_dns_soa_s { + TNET_DECLARE_DNS_RR; - /* RFC 1035 - 3.3.13. SOA RDATA format - +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ + /* RFC 1035 - 3.3.13. SOA RDATA format + +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / MNAME / / / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ @@ -61,14 +60,14 @@ typedef struct tnet_dns_soa_s | MINIMUM | | | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ - */ - char* mname; - char* rname; - uint32_t serial; - uint32_t refresh; - uint32_t retry; - uint32_t expire; - uint32_t minimum; + */ + char* mname; + char* rname; + uint32_t serial; + uint32_t refresh; + uint32_t retry; + uint32_t expire; + uint32_t minimum; } tnet_dns_soa_t; |