Permalink
Browse files

IPv6 support

  • Loading branch information...
1 parent 3ba6a60 commit 8f4942cc74ada9c6b7d3cad24971ce0ec91cafe8 @oliv3 oliv3 committed Jan 22, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 include/epcap_net.hrl
View
3 include/epcap_net.hrl
@@ -1,3 +1,6 @@
+%% From http://en.wikipedia.org/wiki/EtherType
+-define(ETHTYPE_IPV4, <<8, 0>>). %% 0x0800
+-define(ETHTYPE_IPV6, <<134, 221>>). %% 0x86DD
-define(IPPROTO_IP, 0).
-define(IPPROTO_ICMP, 1).

0 comments on commit 8f4942c

Please sign in to comment.