[or-cvs] r10503: Mark fields that need to be ipv6-ified. (in tor/trunk: . doc src/or)

nickm at seul.org nickm at seul.org
Tue Jun 5 20:54:23 UTC 2007


Author: nickm
Date: 2007-06-05 16:54:23 -0400 (Tue, 05 Jun 2007)
New Revision: 10503

Modified:
   tor/trunk/
   tor/trunk/doc/TODO
   tor/trunk/src/or/or.h
Log:
 r13256 at catbus:  nickm | 2007-06-05 10:57:41 -0400
 Mark fields that need to be ipv6-ified.



Property changes on: tor/trunk
___________________________________________________________________
 svk:merge ticket from /tor/trunk [r13256] on 8246c3cf-6607-4228-993b-4d95d33730f1

Modified: tor/trunk/doc/TODO
===================================================================
--- tor/trunk/doc/TODO	2007-06-05 17:40:19 UTC (rev 10502)
+++ tor/trunk/doc/TODO	2007-06-05 20:54:23 UTC (rev 10503)
@@ -17,6 +17,7 @@
 
   - Pending backports for 0.1.2.x:
     - r10148: Open cached-routers with FILE_SHARE_READ on win32.
+    - r10493: Weight guard selection by bandwidth.
 
 N - Test guard unreachable logic; make sure that we actually attempt to
     connect to guards that we think are unreachable from time to time.

Modified: tor/trunk/src/or/or.h
===================================================================
--- tor/trunk/src/or/or.h	2007-06-05 17:40:19 UTC (rev 10502)
+++ tor/trunk/src/or/or.h	2007-06-05 20:54:23 UTC (rev 10503)
@@ -790,6 +790,7 @@
                                  * could write? */
   time_t timestamp_created; /**< When was this connection_t created? */
 
+  /* XXXX020 make this ipv6-capable */
   uint32_t addr; /**< IP of the other side of the connection; used to identify
                   * routers, along with port. */
   uint16_t port; /**< If non-zero, port  on the other end
@@ -804,6 +805,7 @@
                   * strdup into this, because free_connection frees it. */
   /** Annother connection that's connected to this one in lieu of a socket. */
   struct connection_t *linked_conn;
+
   /* XXXX020 NM move these up to the other 1-bit flags. */
   unsigned int linked:1; /**< True if there is, or has been, a linked_conn. */
   /** True iff we'd like to be notified about read events from the
@@ -1019,6 +1021,8 @@
 typedef struct addr_policy_t {
   addr_policy_action_t policy_type; /**< What to do when the policy matches.*/
   char *string; /**< String representation of this rule. */
+
+  /* XXXX020 make this ipv6-capable */
   uint32_t addr; /**< Base address to accept or reject. */
   uint32_t msk; /**< Accept/reject all addresses <b>a</b> such that
                  * a &amp; msk == <b>addr</b> &amp; msk . */
@@ -1727,6 +1731,8 @@
 /** An entry specifying a set of addresses and ports that should be remapped
  * to another address and port before exiting this exit node. */
 typedef struct exit_redirect_t {
+  /* XXXX020 make this whole mess ipv6-capable.  (Does anybody use it? */
+
   uint32_t addr;
   uint32_t mask;
   uint16_t port_min;



More information about the tor-commits mailing list