Showing the changes to include/uapi/linux (1 of 3 files). Show all
Unified · Split
| @@ -712,6 +712,15 @@ struct __sk_buff { · 711 unmodified lines | |||
| 712 | __u32 data; | 712 | __u32 data; |
| 713 | __u32 data_end; | 713 | __u32 data_end; |
| 714 | __u32 napi_id; | 714 | __u32 napi_id; |
| 715 | |||
| 716 | /* accessed by BPF_PROG_TYPE_sk_skb types */ | ||
| 717 | __u32 family; | ||
| 718 | __u32 remote_ip4; /* Stored in network byte order */ | ||
| 719 | __u32 local_ip4; /* Stored in network byte order */ | ||
| 720 | __u32 remote_ip6[4]; /* Stored in network byte order */ | ||
| 721 | __u32 local_ip6[4]; /* Stored in network byte order */ | ||
| 722 | __u32 remote_port; /* Stored in network byte order */ | ||
| 723 | __u32 local_port; /* stored in host byte order */ | ||
| 715 | }; | 724 | }; |
| 716 | 725 | ||
| 717 | struct bpf_tunnel_key { | 726 | struct bpf_tunnel_key { |