ip_ct_sctp is an internal structure, embedded by the union nf_conntrack_proto to store sctp-specific information at conntrack entries. It has no business with UAPI. This patch moves it from UAPI to a saner place, together with similar structs for other protocols.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -1,5 +1,5 @@ | |||
| 1 | #ifndef _NF_CONNTRACK_SCTP_H | 1 | #ifndef _UAPI_NF_CONNTRACK_SCTP_H |
| 2 | #define _NF_CONNTRACK_SCTP_H | 2 | #define _UAPI_NF_CONNTRACK_SCTP_H |
| 3 | /* SCTP tracking. */ | 3 | /* SCTP tracking. */ |
| 4 | 4 | ||
| 5 | #include <linux/netfilter/nf_conntrack_tuple_common.h> | 5 | #include <linux/netfilter/nf_conntrack_tuple_common.h> |
| @@ -18,10 +18,4 @@ enum sctp_conntrack { · 12 unmodified lines | |||
| 18 | SCTP_CONNTRACK_MAX | 18 | SCTP_CONNTRACK_MAX |
| 19 | }; | 19 | }; |
| 20 | 20 | ||
| 21 | struct ip_ct_sctp { | 21 | #endif /* _UAPI_NF_CONNTRACK_SCTP_H */ |
| 22 | enum sctp_conntrack state; | ||
| 23 | |||
| 24 | __be32 vtag[IP_CT_DIR_MAX]; | ||
| 25 | }; | ||
| 26 | |||
| 27 | #endif /* _NF_CONNTRACK_SCTP_H */ | ||