anchao commented on code in PR #7616:
URL: https://github.com/apache/nuttx/pull/7616#discussion_r1037788911


##########
include/nuttx/net/ip.h:
##########
@@ -238,6 +238,51 @@ extern "C"
  * Public Function Prototypes
  ****************************************************************************/
 
+/****************************************************************************
+ * Name: net_iphdrsize
+ *
+ * Description:
+ *   Return the size of the IP header
+ *
+ * Input Parameters:
+ *   domain  - IP domain: PF_INET or PF_INET6
+ *   l4size  - L4 additional header size
+ *
+ * Returned Value:
+ *   The size of the combined L3 + L4 headers is returned.
+ *
+ ****************************************************************************/
+
+static inline uint16_t net_iphdrsize(uint8_t domain, uint16_t l4size)

Review Comment:
   Done



-- 
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