Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140140929
D52566.id162170.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
636 B
Referenced Files
None
Subscribers
None
D52566.id162170.diff
View Options
diff --git a/sys/netpfil/ipfw/ip_fw2.c b/sys/netpfil/ipfw/ip_fw2.c
--- a/sys/netpfil/ipfw/ip_fw2.c
+++ b/sys/netpfil/ipfw/ip_fw2.c
@@ -67,6 +67,7 @@
#include <net/route/nhop.h>
#include <net/pfil.h>
#include <net/vnet.h>
+#include <net/if_gif.h>
#include <net/if_pfsync.h>
#include <netpfil/pf/pf_mtag.h>
@@ -1757,6 +1758,12 @@
PULLUP_TO(hlen, ulp, struct ip);
break;
+ case IPPROTO_ETHERIP: /* RFC 3378 */
+ PULLUP_LEN(hlen, ulp,
+ sizeof(struct etherip_header) +
+ sizeof(struct ether_header));
+ break;
+
case IPPROTO_PFSYNC:
PULLUP_TO(hlen, ulp, struct pfsync_header);
break;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 21, 6:45 PM (6 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27109833
Default Alt Text
D52566.id162170.diff (636 B)
Attached To
Mode
D52566: ipfw: Teach ipfw that EtherIP is an upper layer protocol
Attached
Detach File
Event Timeline
Log In to Comment