Commit cee65b79 authored by Liu Jian's avatar Liu Jian
Browse files

net: add bpf_is_local_ipaddr bpf helper function



hulk inclusion
category: feature
bugzilla: NA
CVE: N/A

----------------------------------------------------

Some network acceleration solutions, such as sockmap, are valid only for
internal packets of the local host. The bpf_is_local_ipaddr() bpf helper
function is added so that the ebpf program can determine whether a packet
is an internal packet of the local host.

Signed-off-by: default avatarLiu Jian <liujian56@huawei.com>
parent 9fb0c016
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment