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

Data Fields
pj_pcap_udp_hdr Struct Reference

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

pj_uint16_t pj_pcap_udp_hdr::csum


pj_uint16_t pj_pcap_udp_hdr::dst_port

Destination port

pj_uint16_t pj_pcap_udp_hdr::len


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.