miniupnpd/pcp_msg_struct.h: comments

This commit is contained in:
Thomas Bernard 2014-03-22 13:12:10 +01:00
parent 5a3a670e89
commit 4a7f97c7f3
1 changed files with 5 additions and 5 deletions

View File

@ -178,12 +178,12 @@ typedef struct pcp_options_hdr {
/* same for both request and response */
typedef struct pcp_map_v2 {
uint32_t nonce[3];
uint8_t protocol;
uint8_t protocol; /* 6 = TCP, 17 = UDP, 0 = 'all protocols' */
uint8_t reserved[3];
uint16_t int_port;
uint16_t ext_port;
struct in6_addr ext_ip; /* ipv4 will be represented
by the ipv4 mapped ipv6 */
uint16_t int_port; /* 0 indicates 'all ports' */
uint16_t ext_port; /* suggested external port */
struct in6_addr ext_ip; /* suggested external IP address
* ipv4 will be represented by the ipv4 mapped ipv6 */
uint8_t next_data[0];
} pcp_map_v2_t;