diff options
author | Guy Harris <guy@alum.mit.edu> | 2008-08-08 19:27:58 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2008-08-08 19:27:58 +0000 |
commit | 3cba46070ca162b8095160e87c9bdfb9ba4bc5c6 (patch) | |
tree | e884f5e4551bded93e3675c7a31992792f536a33 /epan/aftypes.h | |
parent | 652343e2d1501be5fc596c036817d9b5ddfe4892 (diff) |
Add Winsock AF_ values to epan/aftypes.h; the DirectPlay and ActiveSync
Desktop Pass-Through protocols use them.
Use those values in the dissectors for those protocols.
In the Desktop Pass-Through dissector, define the Winsock SOCK_ values
ourselves, and get the IP protocol values from <epan/ipproto.h>. Don't
include now-unnecessary system headers in that dissector.
svn path=/trunk/; revision=25959
Diffstat (limited to 'epan/aftypes.h')
-rw-r--r-- | epan/aftypes.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/epan/aftypes.h b/epan/aftypes.h index 607355800d..ba99a45631 100644 --- a/epan/aftypes.h +++ b/epan/aftypes.h @@ -1,5 +1,6 @@ /* aftypes.h - * AF_ values on various flavors of BSD + * AF_ values on various OSes; they're used in some network protocols, as + * well as in BSD DLT_NULL headers. * * $Id$ * @@ -40,6 +41,11 @@ extern "C" { #define BSD_AF_INET6_FREEBSD 28 #define BSD_AF_INET6_DARWIN 30 +/* Winsock AF_ values. */ +#define WINSOCK_AF_INET 2 +#define WINSOCK_AF_IPX 6 +#define WINSOCK_AF_INET6 23 + #ifdef __cplusplus } #endif /* __cplusplus */ |