History

bpf: Add mark and priority to sock options that can be set

Add socket mark and priority to fields that can be set by ebpf program when a socket is created.

David Ahern committed 9 years ago

Commit 482dca91 parent e12f1a52 files · +28 −0Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/bpf.h+2−0
@@ -758,6 +758,8 @@ struct bpf_sock { · 757 unmodified lines
758758 __u32 family;
759759 __u32 type;
760760 __u32 protocol;
761+ __u32 mark;
762+ __u32 priority;
761763 };
762764
763765 #define XDP_PACKET_HEADROOM 256