1 /* ipv4.h 2 * Definitions of IPv4 address-and-mask structure, which is what an 3 * FT_IPV4 value is (even if there's no mask in a packet, those 4 * values can be compared against an address+mask in a filter 5 * expression). 6 * 7 * Gilbert Ramirez <gram@alumni.rice.edu> 8 * 9 * Wireshark - Network traffic analyzer 10 * By Gerald Combs <gerald@wireshark.org> 11 * Copyright 1998 Gerald Combs 12 * 13 * SPDX-License-Identifier: GPL-2.0-or-later 14 */ 15 16 #ifndef __IPV4_H__ 17 #define __IPV4_H__ 18 19 #include <wsutil/inet_ipv4.h> 20 21 typedef struct { 22 guint32 addr; /* stored in host order */ 23 guint32 nmask; /* stored in host order */ 24 } ipv4_addr_and_mask; 25 26 #endif 27