Re: [External] [PATCH bpf-next v2 1/3] bpf: Add source ip in "struct bpf_tunnel_key"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 3/22/22 8:42 AM, fankaixi.li@xxxxxxxxxxxxx wrote:
From: "kaixi.fan" <fankaixi.li@xxxxxxxxxxxxx>

Add tunnel source ip field in "struct bpf_tunnel_key".
Add code in "bpf_skb_set_tunnel_key" and "bpf_skb_get_tunnel_key" to set
and get this field based on the tunnel key from "struct ip_tunnel_info".

Signed-off-by: kaixi.fan <fankaixi.li@xxxxxxxxxxxxx>

Could you use proper name, e.g., "Kaixi Fan", in Signed-off-by tag?

---
  include/uapi/linux/bpf.h       | 4 ++++
  net/core/filter.c              | 9 +++++++++
  tools/include/uapi/linux/bpf.h | 4 ++++
  3 files changed, 17 insertions(+)

[...]



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux