]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/net/inetpeer.h
[IPV4]: Consolidate fib_select_default.
[linux-2.6-omap-h63xx.git] / include / net / inetpeer.h
index f13cc0c2b163f76eeb45cfabc4d5a7591f854635..ad8404b5611372bbecc7b1759463bb817e8051df 100644 (file)
 
 struct inet_peer
 {
+       /* group together avl_left,avl_right,v4daddr to speedup lookups */
        struct inet_peer        *avl_left, *avl_right;
-       struct inet_peer        *unused_next, **unused_prevp;
-       __u32                   dtime;          /* the time of last use of not
-                                                * referenced entries */
-       atomic_t                refcnt;
        __be32                  v4daddr;        /* peer's address */
        __u16                   avl_height;
        __u16                   ip_id_count;    /* IP ID for the next packet */
+       struct list_head        unused;
+       __u32                   dtime;          /* the time of last use of not
+                                                * referenced entries */
+       atomic_t                refcnt;
        atomic_t                rid;            /* Frag reception counter */
        __u32                   tcp_ts;
        unsigned long           tcp_ts_stamp;