The following built-in functions are available for eBPF targets.
Load a byte from the struct sk_buff
packet data pointed by the register %r6
and return it.
Load 16-bits from the struct sk_buff
packet data pointed by the register %r6
and return it.
Load 32-bits from the struct sk_buff
packet data pointed by the register %r6
and return it.
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-10.2.0/gcc/BPF-Built_002din-Functions.html