If "PriorityInheritance = yes" is specified in tinc.conf, the value of the

TOS field of the tunneled packets will be passed on to the UDP packets tinc
sends out.
This commit is contained in:
Guus Sliepen 2002-03-01 12:26:56 +00:00
parent 80ea653e8d
commit c2b738e7b5
4 changed files with 24 additions and 5 deletions

View file

@ -17,7 +17,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
$Id: net.h,v 1.9.4.43 2002/02/26 23:26:41 guus Exp $
$Id: net.h,v 1.9.4.44 2002/03/01 12:26:56 guus Exp $
*/
#ifndef __TINC_NET_H__
@ -74,6 +74,7 @@ typedef union {
typedef struct vpn_packet_t {
length_t len; /* the actual number of bytes in the `data' field */
int priority; /* priority or TOS */
unsigned int seqno; /* 32 bits sequence number (network byte order of course) */
unsigned char data[MAXSIZE];
} vpn_packet_t;