diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2016-09-01 12:33:46 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-09-01 12:33:46 -0400 |
commit | 0cb7bf61b1e9f05027de58c80f9b46a714d24e35 (patch) | |
tree | 41fb55cf62d07b425122f9a8b96412c0d8eb99c5 /include/uapi/linux | |
parent | aa877175e7a9982233ed8f10cb4bfddd78d82741 (diff) | |
parent | 3eab887a55424fc2c27553b7bfe32330df83f7b8 (diff) |
Merge branch 'linus' into smp/hotplug
Apply upstream changes to avoid conflicts with pending patches.
Diffstat (limited to 'include/uapi/linux')
-rw-r--r-- | include/uapi/linux/bpf.h | 4 | ||||
-rw-r--r-- | include/uapi/linux/netfilter/nf_tables.h | 2 | ||||
-rw-r--r-- | include/uapi/linux/sctp.h | 64 | ||||
-rw-r--r-- | include/uapi/linux/virtio_vsock.h | 2 |
4 files changed, 68 insertions, 4 deletions
diff --git a/include/uapi/linux/bpf.h b/include/uapi/linux/bpf.h index da218fec6056..9e5fc168c8a3 100644 --- a/include/uapi/linux/bpf.h +++ b/include/uapi/linux/bpf.h | |||
@@ -339,7 +339,7 @@ enum bpf_func_id { | |||
339 | BPF_FUNC_skb_change_type, | 339 | BPF_FUNC_skb_change_type, |
340 | 340 | ||
341 | /** | 341 | /** |
342 | * bpf_skb_in_cgroup(skb, map, index) - Check cgroup2 membership of skb | 342 | * bpf_skb_under_cgroup(skb, map, index) - Check cgroup2 membership of skb |
343 | * @skb: pointer to skb | 343 | * @skb: pointer to skb |
344 | * @map: pointer to bpf_map in BPF_MAP_TYPE_CGROUP_ARRAY type | 344 | * @map: pointer to bpf_map in BPF_MAP_TYPE_CGROUP_ARRAY type |
345 | * @index: index of the cgroup in the bpf_map | 345 | * @index: index of the cgroup in the bpf_map |
@@ -348,7 +348,7 @@ enum bpf_func_id { | |||
348 | * == 1 skb succeeded the cgroup2 descendant test | 348 | * == 1 skb succeeded the cgroup2 descendant test |
349 | * < 0 error | 349 | * < 0 error |
350 | */ | 350 | */ |
351 | BPF_FUNC_skb_in_cgroup, | 351 | BPF_FUNC_skb_under_cgroup, |
352 | 352 | ||
353 | /** | 353 | /** |
354 | * bpf_get_hash_recalc(skb) | 354 | * bpf_get_hash_recalc(skb) |
diff --git a/include/uapi/linux/netfilter/nf_tables.h b/include/uapi/linux/netfilter/nf_tables.h index 01751faccaf8..c674ba2563b7 100644 --- a/include/uapi/linux/netfilter/nf_tables.h +++ b/include/uapi/linux/netfilter/nf_tables.h | |||
@@ -24,7 +24,7 @@ enum nft_registers { | |||
24 | __NFT_REG_MAX, | 24 | __NFT_REG_MAX, |
25 | 25 | ||
26 | NFT_REG32_00 = 8, | 26 | NFT_REG32_00 = 8, |
27 | MFT_REG32_01, | 27 | NFT_REG32_01, |
28 | NFT_REG32_02, | 28 | NFT_REG32_02, |
29 | NFT_REG32_03, | 29 | NFT_REG32_03, |
30 | NFT_REG32_04, | 30 | NFT_REG32_04, |
diff --git a/include/uapi/linux/sctp.h b/include/uapi/linux/sctp.h index d304f4c9792c..a406adcc0793 100644 --- a/include/uapi/linux/sctp.h +++ b/include/uapi/linux/sctp.h | |||
@@ -944,4 +944,68 @@ struct sctp_default_prinfo { | |||
944 | __u16 pr_policy; | 944 | __u16 pr_policy; |
945 | }; | 945 | }; |
946 | 946 | ||
947 | struct sctp_info { | ||
948 | __u32 sctpi_tag; | ||
949 | __u32 sctpi_state; | ||
950 | __u32 sctpi_rwnd; | ||
951 | __u16 sctpi_unackdata; | ||
952 | __u16 sctpi_penddata; | ||
953 | __u16 sctpi_instrms; | ||
954 | __u16 sctpi_outstrms; | ||
955 | __u32 sctpi_fragmentation_point; | ||
956 | __u32 sctpi_inqueue; | ||
957 | __u32 sctpi_outqueue; | ||
958 | __u32 sctpi_overall_error; | ||
959 | __u32 sctpi_max_burst; | ||
960 | __u32 sctpi_maxseg; | ||
961 | __u32 sctpi_peer_rwnd; | ||
962 | __u32 sctpi_peer_tag; | ||
963 | __u8 sctpi_peer_capable; | ||
964 | __u8 sctpi_peer_sack; | ||
965 | __u16 __reserved1; | ||
966 | |||
967 | /* assoc status info */ | ||
968 | __u64 sctpi_isacks; | ||
969 | __u64 sctpi_osacks; | ||
970 | __u64 sctpi_opackets; | ||
971 | __u64 sctpi_ipackets; | ||
972 | __u64 sctpi_rtxchunks; | ||
973 | __u64 sctpi_outofseqtsns; | ||
974 | __u64 sctpi_idupchunks; | ||
975 | __u64 sctpi_gapcnt; | ||
976 | __u64 sctpi_ouodchunks; | ||
977 | __u64 sctpi_iuodchunks; | ||
978 | __u64 sctpi_oodchunks; | ||
979 | __u64 sctpi_iodchunks; | ||
980 | __u64 sctpi_octrlchunks; | ||
981 | __u64 sctpi_ictrlchunks; | ||
982 | |||
983 | /* primary transport info */ | ||
984 | struct sockaddr_storage sctpi_p_address; | ||
985 | __s32 sctpi_p_state; | ||
986 | __u32 sctpi_p_cwnd; | ||
987 | __u32 sctpi_p_srtt; | ||
988 | __u32 sctpi_p_rto; | ||
989 | __u32 sctpi_p_hbinterval; | ||
990 | __u32 sctpi_p_pathmaxrxt; | ||
991 | __u32 sctpi_p_sackdelay; | ||
992 | __u32 sctpi_p_sackfreq; | ||
993 | __u32 sctpi_p_ssthresh; | ||
994 | __u32 sctpi_p_partial_bytes_acked; | ||
995 | __u32 sctpi_p_flight_size; | ||
996 | __u16 sctpi_p_error; | ||
997 | __u16 __reserved2; | ||
998 | |||
999 | /* sctp sock info */ | ||
1000 | __u32 sctpi_s_autoclose; | ||
1001 | __u32 sctpi_s_adaptation_ind; | ||
1002 | __u32 sctpi_s_pd_point; | ||
1003 | __u8 sctpi_s_nodelay; | ||
1004 | __u8 sctpi_s_disable_fragments; | ||
1005 | __u8 sctpi_s_v4mapped; | ||
1006 | __u8 sctpi_s_frag_interleave; | ||
1007 | __u32 sctpi_s_type; | ||
1008 | __u32 __reserved3; | ||
1009 | }; | ||
1010 | |||
947 | #endif /* _UAPI_SCTP_H */ | 1011 | #endif /* _UAPI_SCTP_H */ |
diff --git a/include/uapi/linux/virtio_vsock.h b/include/uapi/linux/virtio_vsock.h index 6b011c19b50f..1d57ed3d84d2 100644 --- a/include/uapi/linux/virtio_vsock.h +++ b/include/uapi/linux/virtio_vsock.h | |||
@@ -32,7 +32,7 @@ | |||
32 | */ | 32 | */ |
33 | 33 | ||
34 | #ifndef _UAPI_LINUX_VIRTIO_VSOCK_H | 34 | #ifndef _UAPI_LINUX_VIRTIO_VSOCK_H |
35 | #define _UAPI_LINUX_VIRTIO_VOSCK_H | 35 | #define _UAPI_LINUX_VIRTIO_VSOCK_H |
36 | 36 | ||
37 | #include <linux/types.h> | 37 | #include <linux/types.h> |
38 | #include <linux/virtio_ids.h> | 38 | #include <linux/virtio_ids.h> |