summaryrefslogtreecommitdiff
path: root/include/net/protocol.h
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2006-01-06 21:34:21 (GMT)
committerLen Brown <len.brown@intel.com>2006-01-06 21:34:21 (GMT)
commit25da0974601fc8096461f3d3f7ca3aab8e79adfb (patch)
treef9b3c1bfbc63fdb6a94e82177b8c3ae891125422 /include/net/protocol.h
parent036d25f79ddfbc9878da24ef8e468a6d22caa605 (diff)
parentd99cf9d679a520d67f81d805b7cb91c68e1847f0 (diff)
downloadlinux-fsl-qoriq-25da0974601fc8096461f3d3f7ca3aab8e79adfb.tar.xz
Auto-update from upstream
Diffstat (limited to 'include/net/protocol.h')
-rw-r--r--include/net/protocol.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/protocol.h b/include/net/protocol.h
index 357691f..63f7db9 100644
--- a/include/net/protocol.h
+++ b/include/net/protocol.h
@@ -65,7 +65,7 @@ struct inet_protosw {
int protocol; /* This is the L4 protocol number. */
struct proto *prot;
- struct proto_ops *ops;
+ const struct proto_ops *ops;
int capability; /* Which (if any) capability do
* we need to use this socket
@@ -76,6 +76,7 @@ struct inet_protosw {
};
#define INET_PROTOSW_REUSE 0x01 /* Are ports automatically reusable? */
#define INET_PROTOSW_PERMANENT 0x02 /* Permanent protocols are unremovable. */
+#define INET_PROTOSW_ICSK 0x04 /* Is this an inet_connection_sock? */
extern struct net_protocol *inet_protocol_base;
extern struct net_protocol *inet_protos[MAX_INET_PROTOS];