Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix IPv6 addresses formatting for
src_ipn
and dst_ipn
attributes …
…in report.xml
- Loading branch information
Showing
5 changed files
with
36 additions
and
14 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#ifndef TCPFLOW_INET_NTOP_H | ||
#define TCPFLOW_INET_NTOP_H | ||
|
||
#ifdef HAVE_ARPA_INET_H | ||
# include <arpa/inet.h> | ||
#endif | ||
|
||
#ifndef HAVE_INET_NTOP | ||
const char *inet_ntop(int af, const void *src,char *dst, socklen_t size); | ||
#endif | ||
|
||
#if defined(__MINGW32__) | ||
// <ws2tcpip.h> has this prototype for ws2_32 dll, but has type-conflicts with winsock2.h | ||
WINSOCK_API_LINKAGE LPCWSTR WSAAPI inet_ntop(INT Family, PVOID pAddr, LPWSTR pStringBuf, size_t StringBufSIze); | ||
#endif | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters