aboutsummaryrefslogtreecommitdiff
path: root/src/common/address.c
Commit message (Expand)AuthorAge
* refactor all these tor_inet_ntoa idioms•••but don't refactor the ones that look messy Roger Dingledine2010-10-01
* Rename log.h to torlog.h•••This should make us conflict less with system files named "log.h". Yes, we shouldn't have been conflicting with those anyway, but some people's compilers act very oddly. The actual change was done with one "git mv", by editing Makefile.am, and running find . -name '*.[ch]' | xargs perl -i -pe 'if (/^#include.*\Wlog.h/) {s/log.h/torlog.h/; }' Nick Mathewson2010-07-09
* commit my annotations while i was hunting down the host order bugRoger Dingledine2010-03-05
* Merge remote branch 'origin/maint-0.2.1'•••Conflicts: src/common/test.h src/or/test.c Nick Mathewson2010-02-27
|\
| * Update Tor Project copyright yearsNick Mathewson2010-02-27
* | Make tor_addr_copy() conform to memcpy requirements•••The src and dest of a memcpy() call aren't supposed to overlap, but we were sometimes calling tor_addr_copy() as a no-op. Also, tor_addr_assign was a redundant copy of tor_addr_copy(); this patch removes it. Nick Mathewson2010-02-09
|/
* Use an _actual_ fix for the byte-reverse warning.•••(Given that we're pretty much assuming that int is 32 bits, and given that hex values are always unsigned, taking out the "ul" from 0xff000000 should be fine.) Nick Mathewson2009-09-01
* Use a simpler fix for the byte-reversing warningNick Mathewson2009-09-01
* Fix compile warnings on Snow Leopard•••Big thanks to nickm and arma for helping me with this! Sebastian Hahn2009-09-01
* Spell-check Tor.Nick Mathewson2009-05-27
* Update copyright to 2009.Karsten Loesing2009-05-04
* Fix an error in tor_addr_parse that kept us from having a hidden service or a...•••svn:r18206 Nick Mathewson2009-01-21
* Note a problem in the interface tor_addr_to_sockaddr.•••svn:r17982 Nick Mathewson2009-01-06
* Remove svn $Id$s from our source, and remove tor --version --version.•••The subversion $Id$ fields made every commit force a rebuild of whatever file got committed. They were not actually useful for telling the version of Tor files in the wild. svn:r17867 Nick Mathewson2009-01-04
* Only set sin_len/sin6_len when they exist.•••svn:r17851 Nick Mathewson2009-01-02
* Try harder to make sure we zero-out the extraneous sockaddr fields and that w...•••svn:r17849 Nick Mathewson2009-01-02
* Remove some code that is #ifdefed out, and that we no longer seem to use, if ...•••svn:r17827 Nick Mathewson2008-12-30
* Fix bug in recent address.c patch: actually set the value of address * to 0.0...•••svn:r17801 Nick Mathewson2008-12-29
* Fix compilation under gethostbyname-based systems.•••svn:r17800 Nick Mathewson2008-12-27
* Refactor tor_addr_t manipulation functions so that as few as possible look at...•••svn:r17790 Nick Mathewson2008-12-26
* get_interface_addr6(), and by extension get_interface_addr(), were pretty bor...•••svn:r17789 Nick Mathewson2008-12-26
* Refactor tor_addr_compare_masked() so that CMP_SEMANTIC makes more sense, and...•••svn:r17788 Nick Mathewson2008-12-26
* some fixes i found in my sandbox•••svn:r17771 Roger Dingledine2008-12-25
* Properly zero-out addresses when setting them. Probably this was not hurting...•••svn:r17749 Nick Mathewson2008-12-23
* Fix all of the doxygen warnings not pertaining to missing documentation.•••svn:r17727 Nick Mathewson2008-12-22
* Move in-addr.arpa parsing and generation into address.c, and simplify the cod...•••svn:r17707 Nick Mathewson2008-12-19
* Downlgrade tweak, and answer lots of XXX021s. No actual code fixes in this p...•••svn:r17686 Nick Mathewson2008-12-18
* Resolve many DOCDOCs.•••svn:r17662 Nick Mathewson2008-12-17
* Fix a possible negative shift in address comparison. May fix bug 845 and bug...•••svn:r17169 Nick Mathewson2008-10-29
* fix typo•••svn:r16949 Roger Dingledine2008-09-24
* Fix mingw build with --enable-gcc-warnings set.•••svn:r16759 Nick Mathewson2008-09-04
* An asterisk makes a difference sometimes. Fixes bug 809.•••svn:r16758 Nick Mathewson2008-09-04
* take out a line that i think is extraneous. come on, what could•••go wrong? svn:r16714 Roger Dingledine2008-09-01
* Try once again to make BSD compilation happy.•••svn:r16474 Nick Mathewson2008-08-08
* r17666@tombo: nickm | 2008-08-07 15:12:30 -0400••• Make tor_addr_from_sockaddr also give away the port in a useful format svn:r16458 Nick Mathewson2008-08-07
* r17643@31-33-44: nickm | 2008-08-05 16:18:25 -0400••• Oops. Remove code to set (nonportable) sin_len fields. Added it to try to fix a bug that turned out to be something else. svn:r16436 Nick Mathewson2008-08-05
* r17641@31-33-44: nickm | 2008-08-05 16:07:53 -0400••• Initial conversion of uint32_t addr to tor_addr_t addr in connection_t and related types. Most of the Tor wire formats using these new types are in, but the code to generate and use it is not. This is a big patch. Let me know what it breaks for you. svn:r16435 Nick Mathewson2008-08-05
* Make compiler with GCC warnings enabled happy.•••svn:r16300 Karsten Loesing2008-07-31
* r17434@tombo: nickm | 2008-07-29 10:58:36 -0400••• Refactor tor_addr_from_string: it didnt need most of parse_addr_mask_port_range, and its dependence on that latter function made it less flexible. svn:r16255 Nick Mathewson2008-07-30
* r17426@tombo: nickm | 2008-07-28 20:34:03 -0400••• More test coverage for tor_addr_t; fix a couple of bugs. svn:r16234 Nick Mathewson2008-07-29
* r17391@pc-10-8-1-079: nickm | 2008-07-25 17:11:17 +0200••• Tor_addr_compare did a semantic comparison, such that ::1.2.3.4 and 1.2.3.4 were "equal". we sometimes need an exact comparison. Add a feature to do that. svn:r16210 Nick Mathewson2008-07-25
* r17358@pc-10-8-1-079: nickm | 2008-07-25 16:41:03 +0200••• Split out the address manipulation functions from compat and util: they were about 21% of the total of those, and spread out too much. svn:r16208 Nick Mathewson2008-07-25