diff options
Diffstat (limited to 'include/net/sctp/sctp.h')
-rw-r--r-- | include/net/sctp/sctp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h index 70827305f501..67c997cecf58 100644 --- a/include/net/sctp/sctp.h +++ b/include/net/sctp/sctp.h | |||
@@ -665,6 +665,9 @@ static inline int sctp_vtag_hashfn(__u16 lport, __u16 rport, __u32 vtag) | |||
665 | return (h & (sctp_assoc_hashsize-1)); | 665 | return (h & (sctp_assoc_hashsize-1)); |
666 | } | 666 | } |
667 | 667 | ||
668 | #define sctp_for_each_hentry(epb, node, head) \ | ||
669 | hlist_for_each_entry(epb, node, head, node) | ||
670 | |||
668 | /* Is a socket of this style? */ | 671 | /* Is a socket of this style? */ |
669 | #define sctp_style(sk, style) __sctp_style((sk), (SCTP_SOCKET_##style)) | 672 | #define sctp_style(sk, style) __sctp_style((sk), (SCTP_SOCKET_##style)) |
670 | static inline int __sctp_style(const struct sock *sk, sctp_socket_type_t style) | 673 | static inline int __sctp_style(const struct sock *sk, sctp_socket_type_t style) |