Wireshark 5.1.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
ws_socket_endpoint Struct Reference

One end of a socket: an IPv4 or IPv6 address and a port. More...

#include <process_lookup.h>

Public Attributes

uint8_t ip_version
union { 
   ws_in4_addr   ipv4 
   ws_in6_addr   ipv6 
} addr
uint16_t port

Detailed Description

One end of a socket: an IPv4 or IPv6 address and a port.

Member Data Documentation

◆ ip_version

uint8_t ws_socket_endpoint::ip_version

4 or 6.

◆ ipv4

ws_in4_addr ws_socket_endpoint::ipv4

The IPv4 address, in network byte order.

◆ ipv6

ws_in6_addr ws_socket_endpoint::ipv6

The IPv6 address.

◆ port

uint16_t ws_socket_endpoint::port

The port, in host byte order.


The documentation for this struct was generated from the following file: