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: NLiu Jian <liujian56@huawei.com>
Showing
drivers/net/localip/Makefile
0 → 100644
drivers/net/localip/localip.c
0 → 100644
想要评论请 注册 或 登录