version 1.1.1.2, 2013/07/22 11:54:42
|
version 1.1.1.3, 2023/09/27 11:11:38
|
Line 30
|
Line 30
|
* |
* |
*/ |
*/ |
|
|
#if (HAVE_CONFIG_H) | #include "common.h" |
#include "../include/config.h" | |
#endif | |
#if (!(_WIN32) || (__CYGWIN__)) | |
#include "../include/libnet.h" | |
#else | |
#include "../include/win32/libnet.h" | |
#endif | |
|
|
void |
void |
libnet_diag_dump_hex(const uint8_t *packet, uint32_t len, int swap, FILE *stream) |
libnet_diag_dump_hex(const uint8_t *packet, uint32_t len, int swap, FILE *stream) |
Line 305 libnet_diag_dump_pblock_type(uint8_t type)
|
Line 298 libnet_diag_dump_pblock_type(uint8_t type)
|
return ("hsrp"); |
return ("hsrp"); |
case LIBNET_PBLOCK_ICMPV6_H: |
case LIBNET_PBLOCK_ICMPV6_H: |
return ("icmpv6"); |
return ("icmpv6"); |
|
case LIBNET_PBLOCK_ICMPV6_ECHO_H: |
|
return ("icmpv6_echo"); |
case LIBNET_PBLOCK_ICMPV6_UNREACH_H: |
case LIBNET_PBLOCK_ICMPV6_UNREACH_H: |
return ("icmpv6_unreach"); |
return ("icmpv6_unreach"); |
case LIBNET_PBLOCK_ICMPV6_NDP_NSOL_H: |
case LIBNET_PBLOCK_ICMPV6_NDP_NSOL_H: |
Line 317 libnet_diag_dump_pblock_type(uint8_t type)
|
Line 312 libnet_diag_dump_pblock_type(uint8_t type)
|
return ("unrecognized pblock"); |
return ("unrecognized pblock"); |
} |
} |
|
|
|
/** |
|
* Local Variables: |
|
* indent-tabs-mode: nil |
|
* c-file-style: "stroustrup" |
|
* End: |
|
*/ |