Spec-Zone.ru › GCC 10

Next: FR-V Built-in Functions, Previous: Blackfin Built-in Functions, Up: Built-in Functions Specific to Particular Target Machines [Contents][Index]

6.60.12 BPF Built-in Functions ¶

The following built-in functions are available for eBPF targets.

Built-in Function: unsigned long long __builtin_bpf_load_byte (unsigned long long offset) ¶

Load a byte from the struct sk_buff packet data pointed by the register %r6 and return it.

Built-in Function: unsigned long long __builtin_bpf_load_half (unsigned long long offset) ¶

Load 16-bits from the struct sk_buff packet data pointed by the register %r6 and return it.

Built-in Function: unsigned long long __builtin_bpf_load_word (unsigned long long offset) ¶

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.5.0/gcc/BPF-Built-in-Functions.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API