xiaoxiang781216 commented on code in PR #18857: URL: https://github.com/apache/nuttx/pull/18857#discussion_r3213244324
########## net/sixlowpan/sixlowpan_input.c: ########## @@ -174,20 +185,22 @@ static void sixlowpan_uncompress_ipv6hdr(FAR uint8_t *fptr, * Copy the protocol header following the IPv4 header * * Input Parameters: + * iob - Pointer to the iob struct * fptr - Pointer to the beginning of the frame under construction * bptr - Output goes here. Normally this is a known offset into d_buf, * may be redirected to g_bitbucket on the case of FRAGN frames. - * proto - True: Copy the protocol header following the IPv6 header too. * * Returned Value: - * The size of the protocol header that was copied. + * The size of the protocol header that was copied or a negative error. * ****************************************************************************/ -static uint16_t sixlowpan_uncompress_ipv6proto(FAR uint8_t *fptr, - FAR uint8_t *bptr) +static int sixlowpan_uncompress_ipv6proto(FAR struct iob_s *iob, Review Comment: yes. -- 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]
