update headers from 4.15-rc1
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
f6a54d72a5
commit
7b8c436c30
|
|
@ -262,7 +262,7 @@ union bpf_attr {
|
|||
__u32 kern_version; /* checked when prog_type=kprobe */
|
||||
__u32 prog_flags;
|
||||
char prog_name[BPF_OBJ_NAME_LEN];
|
||||
__u32 prog_target_ifindex; /* ifindex of netdev to prep for */
|
||||
__u32 prog_ifindex; /* ifindex of netdev to prep for */
|
||||
};
|
||||
|
||||
struct { /* anonymous struct used by BPF_OBJ_* commands */
|
||||
|
|
@ -897,10 +897,6 @@ enum sk_action {
|
|||
|
||||
#define BPF_TAG_SIZE 8
|
||||
|
||||
enum bpf_prog_status {
|
||||
BPF_PROG_STATUS_DEV_BOUND = (1 << 0),
|
||||
};
|
||||
|
||||
struct bpf_prog_info {
|
||||
__u32 type;
|
||||
__u32 id;
|
||||
|
|
@ -914,8 +910,6 @@ struct bpf_prog_info {
|
|||
__u32 nr_map_ids;
|
||||
__aligned_u64 map_ids;
|
||||
char name[BPF_OBJ_NAME_LEN];
|
||||
__u32 ifindex;
|
||||
__u32 status;
|
||||
} __attribute__((aligned(8)));
|
||||
|
||||
struct bpf_map_info {
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@
|
|||
#define OPENPROM_SUPER_MAGIC 0x9fa1
|
||||
#define QNX4_SUPER_MAGIC 0x002f /* qnx4 fs detection */
|
||||
#define QNX6_SUPER_MAGIC 0x68191122 /* qnx6 fs detection */
|
||||
#define AFS_FS_MAGIC 0x6B414653
|
||||
|
||||
#define REISERFS_SUPER_MAGIC 0x52654973 /* used by gcc */
|
||||
/* used by file system utilities that
|
||||
|
|
|
|||
|
|
@ -537,6 +537,9 @@ enum {
|
|||
TCA_NETEM_ECN,
|
||||
TCA_NETEM_RATE64,
|
||||
TCA_NETEM_PAD,
|
||||
TCA_NETEM_LATENCY64,
|
||||
TCA_NETEM_JITTER64,
|
||||
TCA_NETEM_SLOT,
|
||||
__TCA_NETEM_MAX,
|
||||
};
|
||||
|
||||
|
|
@ -574,6 +577,13 @@ struct tc_netem_rate {
|
|||
__s32 cell_overhead;
|
||||
};
|
||||
|
||||
struct tc_netem_slot {
|
||||
__s64 min_delay; /* nsec */
|
||||
__s64 max_delay;
|
||||
__s32 max_packets;
|
||||
__s32 max_bytes;
|
||||
};
|
||||
|
||||
enum {
|
||||
NETEM_LOSS_UNSPEC,
|
||||
NETEM_LOSS_GI, /* General Intuitive - 4 state model */
|
||||
|
|
|
|||
|
|
@ -26,9 +26,9 @@ struct ipv6_sr_hdr {
|
|||
__u8 hdrlen;
|
||||
__u8 type;
|
||||
__u8 segments_left;
|
||||
__u8 first_segment;
|
||||
__u8 first_segment; /* Represents the last_entry field of SRH */
|
||||
__u8 flags;
|
||||
__u16 reserved;
|
||||
__u16 tag;
|
||||
|
||||
struct in6_addr segments[0];
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue