Files
kernel_arpi/include/uapi/linux
Xuesen Huang d01b59c9ae bpf: Add bpf_skb_adjust_room flag BPF_F_ADJ_ROOM_ENCAP_L2_ETH
bpf_skb_adjust_room sets the inner_protocol as skb->protocol for packets
encapsulation. But that is not appropriate when pushing Ethernet header.

Add an option to further specify encap L2 type and set the inner_protocol
as ETH_P_TEB.

Suggested-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Xuesen Huang <huangxuesen@kuaishou.com>
Signed-off-by: Zhiyong Cheng <chengzhiyong@kuaishou.com>
Signed-off-by: Li Wang <wangli09@kuaishou.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Willem de Bruijn <willemb@google.com>
Link: https://lore.kernel.org/bpf/20210304064046.6232-1-hxseverything@gmail.com
2021-03-05 16:59:00 +01:00
..
2020-08-22 10:53:12 +01:00
2021-01-18 18:38:47 +01:00
2020-08-12 10:58:00 -07:00
2020-10-09 12:47:02 -06:00
2021-03-04 17:58:15 -08:00
2020-12-08 15:54:16 +01:00
2020-10-01 15:03:40 -04:00
2020-08-27 07:55:59 -07:00
2020-11-26 14:19:10 +01:00
2020-08-18 15:44:44 +02:00
2020-08-27 16:06:47 -04:00
2021-01-07 16:17:32 +01:00
2020-12-03 16:21:08 -07:00
2020-10-23 11:55:28 -04:00
2020-10-23 11:55:28 -04:00