g2gps opened a new pull request, #9294:
URL: https://github.com/apache/nuttx/pull/9294

   ## Summary
   
   The udp connection structure contains the field, "domain", which defines 
which address family it belongs to. Prior to this change, this field was not 
populated correctly, and was read as zero in subsequent udp packet processing. 
As a result, packet information was not processed in udp_recvpktinfo, as 
expected when the appropriate socket option was enabled.
   
   ## Impact
   
   Further processing of UDP packets, i.e in `udp_recvpktinfo`, can correctly 
read the address domain and provide appropriate actions.
   
   ## Testing
   
   In our application:
    - We are now able to fetch using `in6_pktinfo` using `recvmsg`. Previously 
this wasn't possible if only the IPV6 stack was enabled. When both IPV4 and 
IPV6 was enabled, this wasn't an issue.
   
   In NuttX:
    - Using syslog messages to log the value of the `udp_conn_s::domain` field.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to