ebpf-blocker 1.0.0
XDP-based packet blocker using eBPF
Loading...
Searching...
No Matches
lpm_key Struct Reference

Ключ для LPM trie-карт: длина префикса + IP в network byte order. More...

Data Fields

__u32 prefixlen
 Количество значащих битов (0-32).
 
__u32 ip
 IP-адрес в network byte order (с маской).
 

Detailed Description

Ключ для LPM trie-карт: длина префикса + IP в network byte order.

Definition at line 21 of file blocker_kern.c.

Field Documentation

◆ ip

__u32 lpm_key::ip

IP-адрес в network byte order (с маской).

Definition at line 23 of file blocker_kern.c.

Referenced by xdp_blocker_func().

◆ prefixlen

__u32 lpm_key::prefixlen

Количество значащих битов (0-32).

Definition at line 22 of file blocker_kern.c.

Referenced by xdp_blocker_func().


The documentation for this struct was generated from the following file: