X-Git-Url: http://git.onelab.eu/?p=ipfw.git;a=blobdiff_plain;f=dummynet2%2Finclude%2Fnetinet%2Fipfw%2Fip_fw_private.h;fp=dummynet2%2Finclude%2Fnetinet%2Fipfw%2Fip_fw_private.h;h=334facedc7954bef8a793faeca9c4450bfb4e40d;hp=5bf3416995ad9d2e20673f45aa06d8d8c7e35db5;hb=28a7fe9d930667786b902af6697c01eb87694173;hpb=2a8b6c544cf5ea3c84f763144c7ecfa79daea969 diff --git a/dummynet2/include/netinet/ipfw/ip_fw_private.h b/dummynet2/include/netinet/ipfw/ip_fw_private.h index 5bf3416..334face 100644 --- a/dummynet2/include/netinet/ipfw/ip_fw_private.h +++ b/dummynet2/include/netinet/ipfw/ip_fw_private.h @@ -127,7 +127,7 @@ enum { PROTO_IPV4 = 0x08, PROTO_IPV6 = 0x10, PROTO_IFB = 0x0c, /* layer2 + ifbridge */ - /* PROTO_OLDBDG = 0x14, unused, old bridge */ + /* PROTO_OLDBDG = 0x14, unused, old bridge */ }; /* wrapper for freeing a packet, in case we need to do more work */ @@ -218,8 +218,8 @@ struct ip_fw_chain { LIST_HEAD(nat_list, cfg_nat) nat; /* list of nat entries */ struct radix_node_head *tables[IPFW_TABLES_MAX]; #if defined( __linux__ ) || defined( _WIN32 ) - spinlock_t rwmtx; - spinlock_t uh_lock; + spinlock_t rwmtx; + spinlock_t uh_lock; #else struct rwlock rwmtx; struct rwlock uh_lock; /* lock for upper half */