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 | 758 | __u32 family; |
| 759 | 759 | __u32 type; |
| 760 | 760 | __u32 protocol; |
| 761 | + __u32 mark; | |
| 762 | + __u32 priority; | |
| 761 | 763 | }; |
| 762 | 764 | |
| 763 | 765 | #define XDP_PACKET_HEADROOM 256 |