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:
Liu Jian <liujian56@huawei.com>
Loading
Please sign in to comment