|
Wireshark 5.1.0
The Wireshark network protocol analyzer
|
#include <process_lookup_int.h>
Public Attributes | |
| uint8_t | protocol |
| uint8_t | ip_version |
| uint16_t | local_port |
| uint16_t | remote_port |
| uint8_t | local_addr [16] |
| uint8_t | remote_addr [16] |
A socket as found in the operating system's tables, in a form that can be hashed: addresses in network byte order, zero-padded; ports in host byte order. Always initialize it with ws_process_lookup_key_init(), which normalizes it: ip_version 0 means the socket is bound to any address (so it matches both IP versions), and a zero remote address and port mean the socket is not connected.