Update comments
This commit is contained in:
parent
9f7d332028
commit
518d19c0be
|
@ -173,9 +173,9 @@ int ipv6_input(FAR struct net_driver_s *dev)
|
|||
* we set d_len to the correct value.
|
||||
*
|
||||
* The length reported in the IPv6 header is the length of the payload
|
||||
* that follows the header. The device interface uses the d_len variable for
|
||||
* holding the size of the entire packet, including the IP header but without
|
||||
* the link layer header.
|
||||
* that follows the header. The device interface uses the d_len variable
|
||||
* for holding the size of the entire packet, including the IP header but
|
||||
* without the link layer header.
|
||||
*/
|
||||
|
||||
pktlen = ((uint16_t)ipv6->len[0] << 8) + (uint16_t)ipv6->len[1] +
|
||||
|
|
Loading…
Reference in New Issue