equal
deleted
inserted
replaced
17 * information: Portions Copyright [yyyy] [name of copyright owner] |
17 * information: Portions Copyright [yyyy] [name of copyright owner] |
18 * |
18 * |
19 * CDDL HEADER END |
19 * CDDL HEADER END |
20 */ |
20 */ |
21 /* |
21 /* |
22 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. |
22 * Copyright 2007 Sun Microsystems, Inc. All rights reserved. |
23 * Use is subject to license terms. |
23 * Use is subject to license terms. |
24 */ |
24 */ |
25 |
25 |
26 #ifndef _INET_SCTP_SCTP_ASCONF_H |
26 #ifndef _INET_SCTP_SCTP_ASCONF_H |
27 #define _INET_SCTP_SCTP_ASCONF_H |
27 #define _INET_SCTP_SCTP_ASCONF_H |
32 extern "C" { |
32 extern "C" { |
33 #endif |
33 #endif |
34 |
34 |
35 #define SCTP_FADDR_RC_TIMER_RESTART(sctp, fp, intvl) \ |
35 #define SCTP_FADDR_RC_TIMER_RESTART(sctp, fp, intvl) \ |
36 if ((fp)->rc_timer_mp == NULL) { \ |
36 if ((fp)->rc_timer_mp == NULL) { \ |
37 (fp)->rc_timer_mp = sctp_timer_alloc((sctp), sctp_rc_timer); \ |
37 (fp)->rc_timer_mp = sctp_timer_alloc((sctp), \ |
|
38 sctp_rc_timer, KM_NOSLEEP); \ |
38 } \ |
39 } \ |
39 if ((fp)->rc_timer_mp != NULL) { \ |
40 if ((fp)->rc_timer_mp != NULL) { \ |
40 ((sctpt_t *)((fp)->rc_timer_mp->b_rptr))->sctpt_faddr = fp; \ |
41 ((sctpt_t *)((fp)->rc_timer_mp->b_rptr))->sctpt_faddr = fp; \ |
41 dprint(3, ("faddr_rc_timer_restart: fp=%p %x:%x:%x:%x %d\n", \ |
42 dprint(3, ("faddr_rc_timer_restart: fp=%p %x:%x:%x:%x %d\n", \ |
42 (void *)(fp), SCTP_PRINTADDR((fp)->faddr), \ |
43 (void *)(fp), SCTP_PRINTADDR((fp)->faddr), \ |