michi-jung commented on issue #11123:
URL: https://github.com/apache/nuttx/issues/11123#issuecomment-1793712719

   ```
   (gdb) print *(struct iob_s *)0x2000fdec
   $14 = {io_flink = 0x2000fd1c <g_iob_buffer+16224>, io_len = 182 '\266', 
io_offset = 14 '\016', io_pktlen = 187,
     io_data = 
"\006T21\003T111.111\034E\000\000\311A\003@\000\001\021>&\n\000\000\001\357\377\377\372\276\336\al\000\265K-M-SEARCH
 * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: \"ssdp:discover\"\r\nMX: 
1\r\nST: urn:dial-multiscreen-org:service:dial:1\r\nUSER-AGENT: Google 
Chrome/119.0"}
   (gdb) print *(struct iob_s *)0x2000fd1c
   $15 = {io_flink = 0x0, io_len = 19 '\023', io_offset = 0 '\000', io_pktlen = 
5,
     io_data = ".6045.105 
Linux\r\n\r\n\031@\000@\006&\265\n\000\000\002\n\000\000\001&\224\240\332;\232\314\035\277\300i\351P\020\066[l\246\000\000\002T21\003T
 \n\036f\245/\000\000\000\000\001\003\003\a", '\000' <repeats 121 times>}
   
   450000C9 IPv4 - 5 Word Header Len - 201 byte total len
   41034000 Identification (0x4103) - DF (Don't fragment)
   01113E26 Time to Live 0x01 - Protocol 0x11 (UDP) - Header Checksum 0x3E26
   0D000001 Source IP Address 13.0.0.1
   EFFFFFFA Destination IP Address 239.255.255.250 (Multicast address used in 
UPnP)
   
   BEDE076C Source port 48862, Destination port 1900 (UPnP)
   00B54B2D Length 181 - Checksum 0x4B2D
   
   Payload (154 bytes)
   M-SEARCH * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: 
\"ssdp:discover\"\r\nMX: 1\r\nST: 
urn:dial-multiscreen-org:service:dial:1\r\nUSER-AGENT: Google Chrome/119.0
   
   Payload (19 bytes)
   .6045.105 Linux\r\n\r\n\
   ```
   The io_pktlen field is to low by 14 bytes in both IOBs (which equals the 
io_offset of the first IOB of the chain, which is CONFIG_NET_LL_GUARDSIZE=14)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to