[riot-notifications] [RIOT-OS/RIOT] gnrc_ipv6: handle hop-by-hop option before forwarding (#10244)

Martine Lenders notifications at github.com
Fri Nov 23 10:31:18 CET 2018


miri64 commented on this pull request.



> + */
+gnrc_pktsnip_t *gnrc_ipv6_ext_process_hopopt(gnrc_pktsnip_t *pkt,
+                                             uint8_t *nh);
+
+/**
+ * @brief   Processes a packet's extension headers after a potential initial
+ *          hop-by-hop header.
+ *
+ * @note    Should be called by @ref net_gnrc_ipv6 after @ref
+ *          gnrc_ipv6_ext_process_hopopt(), i.e. the (first) hop-by-hop option
+ *          should already be marked in @p pkt. If a hop-by-hop option is found
+ *          in gnrc_pktsnip_t::data of @p pkt, the function will return an
+ *          error.
+ *
+ * @param[in] pkt   An IPv6 packet in receive order.
+ * @param[in] nh    **In:** The @ref net_protnum of gnrc_pktsnip_t::data of

I hope the way I reformulated the comment is now better understandable.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10244#discussion_r235882800
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20181123/a350d18f/attachment.html>


More information about the notifications mailing list