History

netfilter: nf_ct_sctp: move ip_ct_sctp away from UAPI

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.

Marcelo Ricardo Leitner committed 11 years ago

Commit f7ccdb91 parent c1bc1d22 files · +16 −9Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/linux/netfilter/nf_conntrack_sctp.h+3−9
@@ -1,5 +1,5 @@
1#ifndef _NF_CONNTRACK_SCTP_H1#ifndef _UAPI_NF_CONNTRACK_SCTP_H
2#define _NF_CONNTRACK_SCTP_H2#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_MAX18 SCTP_CONNTRACK_MAX
19};19};
20 20
21struct 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 */

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