sentinel-stack/hyperion-xdp/src/kern/hyperion_core.c
sentinel-stack/hyperion-xdp/src/kern/hyperion_core.c
Section titled “sentinel-stack/hyperion-xdp/src/kern/hyperion_core.c”Classes
Section titled “Classes”| Name | |
|---|---|
| struct | policy_t |
| struct | hyp_event |
| struct | flow_key |
| struct | flow_value |
| struct | event_t |
| struct | cursor |
Functions
Section titled “Functions”| Name | |
|---|---|
| struct | SEC(“.maps” ) |
| __uint(type , BPF_MAP_TYPE_ARRAY ) | |
| __type(key , __u32 ) | |
| __type(value , struct policy_t ) | |
| __uint(max_entries , 2 ) | |
| __uint(type , BPF_MAP_TYPE_RINGBUF ) | |
| __uint(max_entries , 1<< 14) | |
| __uint(type , BPF_MAP_TYPE_LRU_HASH ) | |
| __type(key , struct flow_key ) | |
| __type(value , struct flow_value ) | |
| __uint(max_entries , 10000 ) | |
| int | hyperion_filter(struct xdp_md * ctx) |
| char _license[] | SEC(“license” ) |
Attributes
Section titled “Attributes”| Name | |
|---|---|
| struct cursor | SEC |
Defines
Section titled “Defines”| Name | |
|---|---|
| MAX_RULES |
Functions Documentation
Section titled “Functions Documentation”function SEC
Section titled “function SEC”struct SEC( ".maps")function __uint
Section titled “function __uint”__uint( type , BPF_MAP_TYPE_ARRAY)function __type
Section titled “function __type”__type( key , __u32)function __type
Section titled “function __type”__type( value , struct policy_t)function __uint
Section titled “function __uint”__uint( max_entries , 2)function __uint
Section titled “function __uint”__uint( type , BPF_MAP_TYPE_RINGBUF)function __uint
Section titled “function __uint”__uint( max_entries , 1<< 14)function __uint
Section titled “function __uint”__uint( type , BPF_MAP_TYPE_LRU_HASH)function __type
Section titled “function __type”__type( key , struct flow_key)function __type
Section titled “function __type”__type( value , struct flow_value)function __uint
Section titled “function __uint”__uint( max_entries , 10000)function hyperion_filter
Section titled “function hyperion_filter”int hyperion_filter( struct xdp_md * ctx)function SEC
Section titled “function SEC”char _license[] SEC( "license")Attributes Documentation
Section titled “Attributes Documentation”variable SEC
Section titled “variable SEC”struct cursor SEC;Macros Documentation
Section titled “Macros Documentation”define MAX_RULES
Section titled “define MAX_RULES”#define MAX_RULES 2Updated on 2026-05-26 at 13:25:29 +0000