aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--if.h4
-rw-r--r--ip.h4
-rw-r--r--ip6.h4
-rw-r--r--ip_icmp.h4
-rw-r--r--libslirp.h4
-rw-r--r--mbuf.h4
-rw-r--r--misc.h4
-rw-r--r--sbuf.h4
-rw-r--r--socket.h6
-rw-r--r--tcp.h4
-rw-r--r--tcp_timer.h4
-rw-r--r--tcp_var.h4
-rw-r--r--tcpip.h4
-rw-r--r--udp.h4
14 files changed, 29 insertions, 29 deletions
diff --git a/if.h b/if.h
index 44e4774..311d24e 100644
--- a/if.h
+++ b/if.h
@@ -5,8 +5,8 @@
* terms and conditions of the copyright.
*/
-#ifndef _IF_H_
-#define _IF_H_
+#ifndef IF_H
+#define IF_H
#define IF_COMPRESS 0x01 /* We want compression */
#define IF_NOCOMPRESS 0x02 /* Do not do compression */
diff --git a/ip.h b/ip.h
index 1680791..d09717a 100644
--- a/ip.h
+++ b/ip.h
@@ -30,8 +30,8 @@
* ip.h,v 1.3 1994/08/21 05:27:30 paul Exp
*/
-#ifndef _IP_H_
-#define _IP_H_
+#ifndef IP_H
+#define IP_H
#ifdef HOST_WORDS_BIGENDIAN
#undef NTOHL
diff --git a/ip6.h b/ip6.h
index 4a4065b..b0c1526 100644
--- a/ip6.h
+++ b/ip6.h
@@ -3,8 +3,8 @@
* Guillaume Subiron, Yann Bordenave, Serigne Modou Wagne.
*/
-#ifndef SLIRP_IP6_H_
-#define SLIRP_IP6_H_
+#ifndef SLIRP_IP6_H
+#define SLIRP_IP6_H
#include "net/eth.h"
diff --git a/ip_icmp.h b/ip_icmp.h
index eb475ce..754fa25 100644
--- a/ip_icmp.h
+++ b/ip_icmp.h
@@ -30,8 +30,8 @@
* ip_icmp.h,v 1.4 1995/05/30 08:09:43 rgrimes Exp
*/
-#ifndef _NETINET_IP_ICMP_H_
-#define _NETINET_IP_ICMP_H_
+#ifndef NETINET_IP_ICMP_H
+#define NETINET_IP_ICMP_H
/*
* Interface Control Message Protocol Definitions.
diff --git a/libslirp.h b/libslirp.h
index 19eb82d..d815f10 100644
--- a/libslirp.h
+++ b/libslirp.h
@@ -1,5 +1,5 @@
-#ifndef _LIBSLIRP_H
-#define _LIBSLIRP_H
+#ifndef LIBSLIRP_H
+#define LIBSLIRP_H
#include "qemu-common.h"
diff --git a/mbuf.h b/mbuf.h
index 660291b..c1147d1 100644
--- a/mbuf.h
+++ b/mbuf.h
@@ -30,8 +30,8 @@
* mbuf.h,v 1.9 1994/11/14 13:54:20 bde Exp
*/
-#ifndef _MBUF_H_
-#define _MBUF_H_
+#ifndef MBUF_H
+#define MBUF_H
#define MINCSIZE 4096 /* Amount to increase mbuf if too small */
diff --git a/misc.h b/misc.h
index 966f8f2..3c054fe 100644
--- a/misc.h
+++ b/misc.h
@@ -5,8 +5,8 @@
* terms and conditions of the copyright.
*/
-#ifndef _MISC_H_
-#define _MISC_H_
+#ifndef MISC_H
+#define MISC_H
struct ex_list {
int ex_pty; /* Do we want a pty? */
diff --git a/sbuf.h b/sbuf.h
index 1399b5d..1758566 100644
--- a/sbuf.h
+++ b/sbuf.h
@@ -5,8 +5,8 @@
* terms and conditions of the copyright.
*/
-#ifndef _SBUF_H_
-#define _SBUF_H_
+#ifndef SBUF_H
+#define SBUF_H
#define sbflush(sb) sbdrop((sb), (sb)->sb_cc)
#define sbspace(sb) ((sb)->sb_datalen - (sb)->sb_cc)
diff --git a/socket.h b/socket.h
index f48370f..dffa508 100644
--- a/socket.h
+++ b/socket.h
@@ -5,8 +5,8 @@
* terms and conditions of the copyright.
*/
-#ifndef _SLIRP_SOCKET_H_
-#define _SLIRP_SOCKET_H_
+#ifndef SLIRP_SOCKET_H
+#define SLIRP_SOCKET_H
#define SO_EXPIRE 240000
#define SO_EXPIREFAST 10000
@@ -162,4 +162,4 @@ void sotranslate_in(struct socket *, struct sockaddr_storage *);
void sotranslate_accept(struct socket *);
-#endif /* _SOCKET_H_ */
+#endif /* SLIRP_SOCKET_H */
diff --git a/tcp.h b/tcp.h
index 7dbbcd8..6a2e9b5 100644
--- a/tcp.h
+++ b/tcp.h
@@ -30,8 +30,8 @@
* tcp.h,v 1.3 1994/08/21 05:27:34 paul Exp
*/
-#ifndef _TCP_H_
-#define _TCP_H_
+#ifndef TCP_H
+#define TCP_H
typedef uint32_t tcp_seq;
diff --git a/tcp_timer.h b/tcp_timer.h
index 8df643b..8a5e4f8 100644
--- a/tcp_timer.h
+++ b/tcp_timer.h
@@ -30,8 +30,8 @@
* tcp_timer.h,v 1.4 1994/08/21 05:27:38 paul Exp
*/
-#ifndef _TCP_TIMER_H_
-#define _TCP_TIMER_H_
+#ifndef TCP_TIMER_H
+#define TCP_TIMER_H
/*
* Definitions of the TCP timers. These timers are counted
diff --git a/tcp_var.h b/tcp_var.h
index a71b7bd..d707b8f 100644
--- a/tcp_var.h
+++ b/tcp_var.h
@@ -30,8 +30,8 @@
* tcp_var.h,v 1.3 1994/08/21 05:27:39 paul Exp
*/
-#ifndef _TCP_VAR_H_
-#define _TCP_VAR_H_
+#ifndef TCP_VAR_H
+#define TCP_VAR_H
#include "tcpip.h"
#include "tcp_timer.h"
diff --git a/tcpip.h b/tcpip.h
index 384b508..f0e4a67 100644
--- a/tcpip.h
+++ b/tcpip.h
@@ -30,8 +30,8 @@
* tcpip.h,v 1.3 1994/08/21 05:27:40 paul Exp
*/
-#ifndef _TCPIP_H_
-#define _TCPIP_H_
+#ifndef TCPIP_H
+#define TCPIP_H
/*
* Tcp+ip header, after ip options removed.
diff --git a/udp.h b/udp.h
index e1ee565..95800d0 100644
--- a/udp.h
+++ b/udp.h
@@ -30,8 +30,8 @@
* udp.h,v 1.3 1994/08/21 05:27:41 paul Exp
*/
-#ifndef _UDP_H_
-#define _UDP_H_
+#ifndef UDP_H
+#define UDP_H
#define UDP_TTL 0x60
#define UDP_UDPDATALEN 16192