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 (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
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 256765#define XDP_PACKET_HEADROOM 256

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t