aboutsummaryrefslogtreecommitdiffstats
path: root/epan/ipv4.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-10-29 19:10:46 -0700
committerGuy Harris <guy@alum.mit.edu>2017-10-30 02:11:22 +0000
commit39ba9d4e7fb52ca8017bd4e934d6e6f8acba8d4c (patch)
treeeacce8999646bf94f162514e92c94747ca03dc4f /epan/ipv4.h
parentdd1c18dd031038cbee7e219e322cbea1eafc87ca (diff)
Add wsutil/inet_ipv4.h.
It defines a ws_in4_addr type, which is intended to hold IPv4 addresses in network byte order, and some macros to test for IPv4 addresses in the local network control block and multicast IPv4 addresses. Use those macros in places where dissectors had their own code for that purpose. Change-Id: I4252b410e37207157be85119a332e2a6913b332f Reviewed-on: https://code.wireshark.org/review/24178 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/ipv4.h')
-rw-r--r--epan/ipv4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/ipv4.h b/epan/ipv4.h
index 979f5f52d6..af43414509 100644
--- a/epan/ipv4.h
+++ b/epan/ipv4.h
@@ -28,7 +28,7 @@
#ifndef __IPV4_H__
#define __IPV4_H__
-#include <glib.h>
+#include <wsutil/inet_ipv4.h>
typedef struct {
guint32 addr; /* stored in host order */