Skip to content

Commit

Permalink
bpf/tools: sync bpf.h
Browse files Browse the repository at this point in the history
Sync uapi/linux/bpf.h

Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
  • Loading branch information
Jonathan Lemon authored and Alexei Starovoitov committed Jun 11, 2019
1 parent fada7fd commit 91eda59
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/include/uapi/linux/bpf.h
Original file line number Diff line number Diff line change
Expand Up @@ -3083,6 +3083,10 @@ struct bpf_sock_tuple {
};
};

struct bpf_xdp_sock {
__u32 queue_id;
};

#define XDP_PACKET_HEADROOM 256

/* User return codes for XDP prog type.
Expand Down

0 comments on commit 91eda59

Please sign in to comment.