Add helpers to use local socket storage.
Showing the changes to include/uapi (1 of 3 files). Show all
Unified · Split
| @@ -3645,6 +3645,8 @@ struct sk_msg_md { · 3644 unmodified lines | |||
| 3645 | __u32 remote_port; /* Stored in network byte order */ | 3645 | __u32 remote_port; /* Stored in network byte order */ |
| 3646 | __u32 local_port; /* stored in host byte order */ | 3646 | __u32 local_port; /* stored in host byte order */ |
| 3647 | __u32 size; /* Total size of sk_msg */ | 3647 | __u32 size; /* Total size of sk_msg */ |
| 3648 | |||
| 3649 | __bpf_md_ptr(struct bpf_sock *, sk); /* current socket */ | ||
| 3648 | }; | 3650 | }; |
| 3649 | 3651 | ||
| 3650 | struct sk_reuseport_md { | 3652 | struct sk_reuseport_md { |