ipinfo_t Structure
            
         The ipinfo_t structure contains common IP info for both IPv4 and IPv6.
               
typedef struct ipinfo {
        uint8_t ip_ver;                 /* IP version (4, 6) */
        uint16_t ip_plength;            /* payload length */
        string ip_saddr;                /* source address */
        string ip_daddr;                /* destination address */
} ipinfo_t;These values are read at the time the probe fired in TCP, and so ip_plength is the expected IP payload length. However, the IP layer may add headers such as AH and ESP, which will increase the actual payload length. To examine this, also trace packets using the ip provider.
               
Table 11-67 ipinfo_t Members
                  
| Member | Description | 
|---|---|
| 
 | IP version number. Currently either 4 or 6. | 
| 
 | Payload length in bytes. This is the length of the packet at the time of tracing, excluding the IP header. | 
| 
 | Source IP address, as a string. For IPv4 this is a dotted decimal quad, IPv6 follows RFC 1884 convention 2 with lower case hexadecimal digits. | 
| 
 | Destination IP address, as a string. For IPv4 this is a dotted decimal quad, IPv6 follows RFC 1884 convention 2 with lower case hexadecimal digits. |