Please wait until the page is fully downloaded and then press the "Expand" button or the blue line numbers.

0102000 /*
0102001 server/ip/gen/udp_hdr.h
0102002 */
0102003 
0102004 #ifndef __SERVER__IP__GEN__UDP_HDR_H__
0102005 #define __SERVER__IP__GEN__UDP_HDR_H__
0102006 
0102007 typedef struct udp_hdr
0102008 {
0102009          udpport_t uh_src_port;
0102010          udpport_t uh_dst_port;
0102011          u16_t uh_length;
0102012          u16_t uh_chksum;
0102013 } udp_hdr_t;
0102014 
0102015 typedef struct udp_io_hdr
0102016 {
0102017          ipaddr_t uih_src_addr;
0102018          ipaddr_t uih_dst_addr;
0102019          udpport_t uih_src_port;
0102020          udpport_t uih_dst_port;
0102021          u16_t uih_ip_opt_len;
0102022          u16_t uih_data_len;
0102023 } udp_io_hdr_t;
0102024 
0102025 #endif /* __SERVER__IP__GEN__UDP_HDR_H__ */