projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove extra semicolon in my definition of setpriority()
[tinc]
/
lib
/
ipv4.h
diff --git
a/lib/ipv4.h
b/lib/ipv4.h
index
dcac0bf
..
dd4a8b9
100644
(file)
--- a/
lib/ipv4.h
+++ b/
lib/ipv4.h
@@
-1,7
+1,7
@@
/*
ipv4.h -- missing IPv4 related definitions
/*
ipv4.h -- missing IPv4 related definitions
- Copyright (C) 200
3 Ivo Timmermans <ivo@o2w.nl>
- 200
3 Guus Sliepen <guus@sliepen.eu
.org>
+ Copyright (C) 200
5 Ivo Timmermans
+ 200
6 Guus Sliepen <guus@tinc-vpn
.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-17,7
+17,7
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id
: ipv4.h,v 1.1.2.5 2003/12/22 11:05:23 guus Exp
$
+ $Id$
*/
#ifndef __TINC_IPV4_H__
*/
#ifndef __TINC_IPV4_H__
@@
-67,7
+67,6
@@
struct ip {
#define IP_RF 0x8000
#define IP_DF 0x4000
#define IP_MF 0x2000
#define IP_RF 0x8000
#define IP_DF 0x4000
#define IP_MF 0x2000
-#define IP_OFFMASK 0x1fff
uint8_t ip_ttl;
uint8_t ip_p;
uint16_t ip_sum;
uint8_t ip_ttl;
uint8_t ip_p;
uint16_t ip_sum;
@@
-75,6
+74,10
@@
struct ip {
} __attribute__ ((__packed__));
#endif
} __attribute__ ((__packed__));
#endif
+#ifndef IP_OFFMASK
+#define IP_OFFMASK 0x1fff
+#endif
+
#ifndef HAVE_STRUCT_ICMP
struct icmp {
uint8_t icmp_type;
#ifndef HAVE_STRUCT_ICMP
struct icmp {
uint8_t icmp_type;