diff options
Diffstat (limited to 'include/net/sctp/structs.h')
| -rw-r--r-- | include/net/sctp/structs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index 1bd4c4144fe8..e745c92a1532 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h | |||
| @@ -54,7 +54,7 @@ | |||
| 54 | #ifndef __sctp_structs_h__ | 54 | #ifndef __sctp_structs_h__ |
| 55 | #define __sctp_structs_h__ | 55 | #define __sctp_structs_h__ |
| 56 | 56 | ||
| 57 | #include <linux/time.h> /* We get struct timespec. */ | 57 | #include <linux/ktime.h> |
| 58 | #include <linux/socket.h> /* linux/in.h needs this!! */ | 58 | #include <linux/socket.h> /* linux/in.h needs this!! */ |
| 59 | #include <linux/in.h> /* We get struct sockaddr_in. */ | 59 | #include <linux/in.h> /* We get struct sockaddr_in. */ |
| 60 | #include <linux/in6.h> /* We get struct in6_addr */ | 60 | #include <linux/in6.h> /* We get struct in6_addr */ |
| @@ -284,7 +284,7 @@ struct sctp_cookie { | |||
| 284 | __u32 peer_ttag; | 284 | __u32 peer_ttag; |
| 285 | 285 | ||
| 286 | /* When does this cookie expire? */ | 286 | /* When does this cookie expire? */ |
| 287 | struct timeval expiration; | 287 | ktime_t expiration; |
| 288 | 288 | ||
| 289 | /* Number of inbound/outbound streams which are set | 289 | /* Number of inbound/outbound streams which are set |
| 290 | * and negotiated during the INIT process. | 290 | * and negotiated during the INIT process. |
| @@ -1537,7 +1537,7 @@ struct sctp_association { | |||
| 1537 | sctp_state_t state; | 1537 | sctp_state_t state; |
| 1538 | 1538 | ||
| 1539 | /* The cookie life I award for any cookie. */ | 1539 | /* The cookie life I award for any cookie. */ |
| 1540 | struct timeval cookie_life; | 1540 | ktime_t cookie_life; |
| 1541 | 1541 | ||
| 1542 | /* Overall : The overall association error count. | 1542 | /* Overall : The overall association error count. |
| 1543 | * Error Count : [Clear this any time I get something.] | 1543 | * Error Count : [Clear this any time I get something.] |
