]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/dccp/ackvec.h
IB/ipath: Add ipath_read_ireg() abstraction
[linux-2.6-omap-h63xx.git] / net / dccp / ackvec.h
index 96504a3b16e43dc3a00ada1a3f44f709394c3aae..9671ecd17e00581c8fb81d222cf975ba27a70f68 100644 (file)
@@ -12,8 +12,8 @@
  */
 
 #include <linux/compiler.h>
+#include <linux/ktime.h>
 #include <linux/list.h>
-#include <linux/time.h>
 #include <linux/types.h>
 
 /* Read about the ECN nonce to see why it is 253 */
@@ -52,7 +52,7 @@
 struct dccp_ackvec {
        u64             dccpav_buf_ackno;
        struct list_head dccpav_records;
-       struct timeval  dccpav_time;
+       ktime_t         dccpav_time;
        u16             dccpav_buf_head;
        u16             dccpav_vec_len;
        u8              dccpav_buf_nonce;
@@ -71,7 +71,7 @@ struct dccp_ackvec {
  * @dccpavr_ack_ackno - sequence number being acknowledged
  * @dccpavr_ack_ptr - pointer into dccpav_buf where this record starts
  * @dccpavr_ack_nonce - dccpav_ack_nonce at the time this record was sent
- * @dccpavr_sent_len - lenght of the record in dccpav_buf
+ * @dccpavr_sent_len - length of the record in dccpav_buf
  */
 struct dccp_ackvec_record {
        struct list_head dccpavr_node;