Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Benjamin J. Thompson
Tor
Commits
4ded40b0
Commit
4ded40b0
authored
12 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Patches
Plain Diff
Add missing doxygen for DNS and automap code
parent
8d080d0b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/or/or.h
+37
-4
37 additions, 4 deletions
src/or/or.h
with
37 additions
and
4 deletions
src/or/or.h
+
37
−
4
View file @
4ded40b0
...
...
@@ -1225,7 +1225,7 @@ typedef struct listener_connection_t {
uint8_t
isolation_flags
;
/**@}*/
/** For a SOCKS listener, these fields describe whether we should
/** For a SOCKS listener
s
, these fields describe whether we should
* allow IPv4 and IPv6 addresses from our exit nodes, respectively.
*
* @{
...
...
@@ -1237,11 +1237,22 @@ typedef struct listener_connection_t {
* addresses? */
unsigned
int
socks_prefer_ipv6
:
1
;
/*DOCDOC*/
/** For a socks listener: should we cache IPv4/IPv6 DNS information that
* exit nodes tell us?
*
* @{ */
unsigned
int
cache_ipv4_answers
:
1
;
unsigned
int
cache_ipv6_answers
:
1
;
/** @} */
/** For a socks listeners: if we find an answer in our client-side DNS cache,
* should we use it?
*
* @{ */
unsigned
int
use_cached_ipv4_answers
:
1
;
unsigned
int
use_cached_ipv6_answers
:
1
;
/** @} */
/** For socks listeners: When we can automap an address to IPv4 or IPv6,
* do we prefer IPv6? */
unsigned
int
prefer_ipv6_virtaddr
:
1
;
}
listener_connection_t
;
...
...
@@ -1552,11 +1563,22 @@ typedef struct entry_connection_t {
/** Should we say we prefer IPv6 traffic? */
unsigned
int
prefer_ipv6_traffic
:
1
;
/* DOCDOC*/
/** For a socks listener: should we cache IPv4/IPv6 DNS information that
* exit nodes tell us?
*
* @{ */
unsigned
int
cache_ipv4_answers
:
1
;
unsigned
int
cache_ipv6_answers
:
1
;
/** @} */
/** For a socks listeners: if we find an answer in our client-side DNS cache,
* should we use it?
*
* @{ */
unsigned
int
use_cached_ipv4_answers
:
1
;
unsigned
int
use_cached_ipv6_answers
:
1
;
/** @} */
/** For socks listeners: When we can automap an address to IPv4 or IPv6,
* do we prefer IPv6? */
unsigned
int
prefer_ipv6_virtaddr
:
1
;
}
entry_connection_t
;
...
...
@@ -3104,11 +3126,22 @@ typedef struct port_cfg_t {
unsigned
int
ipv6_traffic
:
1
;
unsigned
int
prefer_ipv6
:
1
;
/* DOCDOC */
/** For a socks listener: should we cache IPv4/IPv6 DNS information that
* exit nodes tell us?
*
* @{ */
unsigned
int
cache_ipv4_answers
:
1
;
unsigned
int
cache_ipv6_answers
:
1
;
/** @} */
/** For a socks listeners: if we find an answer in our client-side DNS cache,
* should we use it?
*
* @{ */
unsigned
int
use_cached_ipv4_answers
:
1
;
unsigned
int
use_cached_ipv6_answers
:
1
;
/** @} */
/** For socks listeners: When we can automap an address to IPv4 or IPv6,
* do we prefer IPv6? */
unsigned
int
prefer_ipv6_virtaddr
:
1
;
/* Unix sockets only: */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment