Add socket mark and priority to fields that can be set by ebpf program when a socket is created.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -758,6 +758,8 @@ struct bpf_sock { · 757 unmodified lines | |||
| 758 | __u32 family; | 758 | __u32 family; |
| 759 | __u32 type; | 759 | __u32 type; |
| 760 | __u32 protocol; | 760 | __u32 protocol; |
| 761 | __u32 mark; | ||
| 762 | __u32 priority; | ||
| 761 | }; | 763 | }; |
| 762 | 764 | ||
| 763 | #define XDP_PACKET_HEADROOM 256 | 765 | #define XDP_PACKET_HEADROOM 256 |