Change the type of io_pktlen from uint16_t to unsigned int

I plan to use a simple IOB chain w/o IOB queue for tcp recv buffers.
for large configurations, uint16_t is not large enough to represent
the entire socket buffer.
This commit is contained in:
YAMAMOTO Takashi 2021-06-18 15:18:18 +09:00 committed by Masayuki Ishikawa
parent 0886257eb4
commit b2d3bf920d

View File

@ -106,7 +106,7 @@ struct iob_s
uint16_t io_len; /* Length of the data in the entry */
uint16_t io_offset; /* Data begins at this offset */
#endif
uint16_t io_pktlen; /* Total length of the packet */
unsigned int io_pktlen; /* Total length of the packet */
uint8_t io_data[CONFIG_IOB_BUFSIZE];
};