[riot-notifications] [RIOT-OS/RIOT] Initial implementation of IEEE 802.15.4 security (#15150)

fabian18 notifications at github.com
Tue Nov 24 13:28:23 CET 2020


@fabian18 commented on this pull request.



> +        .iol_next = (iolist_t *)pkt->next->next,
+        .iol_base = pkt->next->data,
+        .iol_len = pkt->next->size

If I change it to `pkt->next`, `ping6` no longer works. But I understand what you mean because in `master` there it is:
```
    iolist_t iolist = {
        .iol_next = (iolist_t *)pkt->next,
        .iol_base = mhr,
        .iol_len = (size_t)res
    };
```
To me it says: The L2 payload starts at `pkt->next`.
But this is the same as:
```
    iolist_t iolist_payload = {
        .iol_next = (iolist_t *)pkt->next->next,
        .iol_base = pkt->next->data,
        .iol_len = pkt->size
    };
```

-- 
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/15150#discussion_r529507748
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201124/cbca401e/attachment.htm>


More information about the notifications mailing list