File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ typedef struct udp_hdr
5454{
5555 unsigned short source ; // Source port no.
5656 unsigned short dest ; // Dest. port no.
57- unsigned short length ; // Udp packet length
57+ unsigned short len ; // Udp packet length
5858 unsigned short check ; // Udp checksum
5959} UDP_HDR , * PUDP_HDR , udphdr ;
6060
@@ -63,8 +63,8 @@ typedef struct udp_hdr
6363//
6464typedef struct tcp_hdr
6565{
66- unsigned short src_portno ; // Source port no.
67- unsigned short dest_portno ; // Dest. port no.
66+ unsigned short source ; // Source port no.
67+ unsigned short dest ; // Dest. port no.
6868 unsigned long seq_num ; // Sequence number
6969 unsigned long ack_num ; // Acknowledgement number;
7070 unsigned short lenflags ; // Header length and flags
@@ -126,5 +126,3 @@ typedef struct igmp_hdr_report_v3
126126#include <poppack.h>
127127
128128#endif
129-
130-
You can’t perform that action at this time.
0 commit comments