diff options
author | Michael Tuexen <tuexen@FreeBSD.org> | 2014-12-02 20:29:29 +0000 |
---|---|---|
committer | Michael Tuexen <tuexen@FreeBSD.org> | 2014-12-02 20:29:29 +0000 |
commit | 4e88d37a2a73e1b859e8dd89f94f318ae7933230 (patch) | |
tree | 22e40559c9fbf2d130277c086e440c10c710022c /sys/netinet/sctp_os_bsd.h | |
parent | bd19924f6b4f064ab31e4c5a1384b7ed4d1f458d (diff) | |
download | src-test2-4e88d37a2a73e1b859e8dd89f94f318ae7933230.tar.gz src-test2-4e88d37a2a73e1b859e8dd89f94f318ae7933230.zip |
Notes
Diffstat (limited to 'sys/netinet/sctp_os_bsd.h')
-rw-r--r-- | sys/netinet/sctp_os_bsd.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/sctp_os_bsd.h b/sys/netinet/sctp_os_bsd.h index 69ecf40655dd..9d5466307f50 100644 --- a/sys/netinet/sctp_os_bsd.h +++ b/sys/netinet/sctp_os_bsd.h @@ -393,13 +393,15 @@ typedef struct callout sctp_os_timer_t; #define SCTP_CLEAR_SO_NBIO(so) ((so)->so_state &= ~SS_NBIO) /* get the socket type */ #define SCTP_SO_TYPE(so) ((so)->so_type) +/* Use a macro for renaming sb_cc to sb_ccc */ +#define sb_cc sb_ccc /* reserve sb space for a socket */ #define SCTP_SORESERVE(so, send, recv) soreserve(so, send, recv) /* wakeup a socket */ #define SCTP_SOWAKEUP(so) wakeup(&(so)->so_timeo) /* clear the socket buffer state */ #define SCTP_SB_CLEAR(sb) \ - (sb).sb_ccc = 0; \ + (sb).sb_cc = 0; \ (sb).sb_mb = NULL; \ (sb).sb_mbcnt = 0; |