You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "acassis (via GitHub)" <gi...@apache.org> on 2023/01/26 22:38:45 UTC

[GitHub] [nuttx] acassis commented on a diff in pull request #8239: Remove use of IPv[4|6]BUF macro from net/slip

acassis commented on code in PR #8239:
URL: https://github.com/apache/nuttx/pull/8239#discussion_r1088411503


##########
drivers/net/slip.c:
##########
@@ -109,6 +109,11 @@
 
 #define SLIP_WDDELAY   (1*1000000)
 
+/* This is a helper pointer for accessing the contents of the ip header */
+
+#define IPv4HDR        ((FAR struct ipv4_hdr_s *)priv->dev.d_buf)

Review Comment:
   @pkarashchenko @xiaoxiang781216 maybe PPPD is not working because it uses a TUN interface, what do you think?



-- 
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-unsubscribe@nuttx.apache.org

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