add one bpf helper function for redissockmap
Liu Jian (2): net: add bpf_is_local_ipaddr bpf helper function net: let sockops can use bpf_get_current_comm()
arch/arm64/configs/openeuler_defconfig | 1 + arch/x86/configs/openeuler_defconfig | 1 + drivers/net/Kconfig | 8 ++ drivers/net/Makefile | 1 + drivers/net/localip/Makefile | 8 ++ drivers/net/localip/localip.c | 157 +++++++++++++++++++++++++ include/trace/events/net.h | 4 + include/uapi/linux/bpf.h | 7 ++ net/core/filter.c | 20 ++++ net/core/net-traces.c | 1 + tools/include/uapi/linux/bpf.h | 7 ++ 11 files changed, 215 insertions(+) create mode 100644 drivers/net/localip/Makefile create mode 100644 drivers/net/localip/localip.c