aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/sctp/structs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/sctp/structs.h')
-rw-r--r--include/net/sctp/structs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h
index a15432da27c3..88949a994538 100644
--- a/include/net/sctp/structs.h
+++ b/include/net/sctp/structs.h
@@ -235,7 +235,7 @@ extern struct sctp_globals {
235 235
236 /* Flag to indicate whether computing and verifying checksum 236 /* Flag to indicate whether computing and verifying checksum
237 * is disabled. */ 237 * is disabled. */
238 int checksum_disable; 238 bool checksum_disable;
239 239
240 /* Threshold for rwnd update SACKS. Receive buffer shifted this many 240 /* Threshold for rwnd update SACKS. Receive buffer shifted this many
241 * bits is an indicator of when to send and window update SACK. 241 * bits is an indicator of when to send and window update SACK.
@@ -369,7 +369,7 @@ static inline struct sock *sctp_opt2sk(const struct sctp_sock *sp)
369 return (struct sock *)sp; 369 return (struct sock *)sp;
370} 370}
371 371
372#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE) 372#if IS_ENABLED(CONFIG_IPV6)
373struct sctp6_sock { 373struct sctp6_sock {
374 struct sctp_sock sctp; 374 struct sctp_sock sctp;
375 struct ipv6_pinfo inet6; 375 struct ipv6_pinfo inet6;
@@ -1089,6 +1089,7 @@ void sctp_transport_burst_reset(struct sctp_transport *);
1089unsigned long sctp_transport_timeout(struct sctp_transport *); 1089unsigned long sctp_transport_timeout(struct sctp_transport *);
1090void sctp_transport_reset(struct sctp_transport *); 1090void sctp_transport_reset(struct sctp_transport *);
1091void sctp_transport_update_pmtu(struct sctp_transport *, u32); 1091void sctp_transport_update_pmtu(struct sctp_transport *, u32);
1092void sctp_transport_immediate_rtx(struct sctp_transport *);
1092 1093
1093 1094
1094/* This is the structure we use to queue packets as they come into 1095/* This is the structure we use to queue packets as they come into