WARNING: The online documentation has moved to https://docs.pjsip.org.

Visit the new documentation at https://docs.pjsip.org:

BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJLIB-UTIL Reference

pj_pcap_udp_hdr Struct Reference

#include <pcap.h>

Data Fields

pj_uint16_t src_port
 
pj_uint16_t dst_port
 
pj_uint16_t len
 
pj_uint16_t csum
 

Detailed Description

This describes UDP header, which may optionally be returned in pj_pcap_read_udp() function. All fields are in network byte order.

Field Documentation

◆ csum

pj_uint16_t pj_pcap_udp_hdr::csum

Checksum.

◆ dst_port

pj_uint16_t pj_pcap_udp_hdr::dst_port

Destination port

◆ len

pj_uint16_t pj_pcap_udp_hdr::len

Length.

◆ src_port

pj_uint16_t pj_pcap_udp_hdr::src_port

Source port.


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

 


PJLIB-UTIL Open Source, small footprint, and portable asynchronous/caching DNS resolver, text scanner, STUN client, and XML library
Copyright (C) 2006-2009 Teluu Inc.