Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
pcap_ipv4_header Struct Reference

PCAP IPv4 Header. More...

Data Fields

uint32_t ip_dst
 Source IP address. More...
 
uint16_t ip_id
 Total length of the packet (including IPv4 header) More...
 
uint16_t ip_len
 Type of service details. More...
 
uint16_t ip_off
 Identification value. More...
 
uint8_t ip_protocol
 Time to live for the packet. More...
 
uint32_t ip_src
 Checksum (not calculated for our purposes. More...
 
uint16_t ip_sum
 Protocol of the data held within the packet (always UDP) More...
 
uint8_t ip_tos
 IP header version and other bits. More...
 
uint8_t ip_ttl
 Fragment offset. More...
 
uint8_t ver_ihl
 

Detailed Description

PCAP IPv4 Header.

Definition at line 66 of file res_pjsip_logger.c.

Field Documentation

◆ ip_dst

uint32_t ip_dst

Source IP address.

Definition at line 76 of file res_pjsip_logger.c.

Referenced by pjsip_logger_write_to_pcap().

◆ ip_id

uint16_t ip_id

Total length of the packet (including IPv4 header)

Definition at line 70 of file res_pjsip_logger.c.

◆ ip_len

uint16_t ip_len

Type of service details.

Definition at line 69 of file res_pjsip_logger.c.

Referenced by pjsip_logger_write_to_pcap().

◆ ip_off

uint16_t ip_off

Identification value.

Definition at line 71 of file res_pjsip_logger.c.

◆ ip_protocol

uint8_t ip_protocol

Time to live for the packet.

Definition at line 73 of file res_pjsip_logger.c.

Referenced by pjsip_logger_write_to_pcap().

◆ ip_src

uint32_t ip_src

Checksum (not calculated for our purposes.

Definition at line 75 of file res_pjsip_logger.c.

Referenced by pjsip_logger_write_to_pcap().

◆ ip_sum

uint16_t ip_sum

Protocol of the data held within the packet (always UDP)

Definition at line 74 of file res_pjsip_logger.c.

◆ ip_tos

uint8_t ip_tos

IP header version and other bits.

Definition at line 68 of file res_pjsip_logger.c.

◆ ip_ttl

uint8_t ip_ttl

Fragment offset.

Definition at line 72 of file res_pjsip_logger.c.

◆ ver_ihl

uint8_t ver_ihl

Definition at line 67 of file res_pjsip_logger.c.

Referenced by pjsip_logger_write_to_pcap().


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