| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | lib9: remove ss_len manipulation in _p9dialparse | Russ Cox | 2012-09-08 | 1 | -3/+0 |
| | | | | | | | | Not all systems have ss_len, and we've never set it before. R=rsc http://codereview.appspot.com/6497102 | ||||
| * | lib9: fix announce on OS X | Russ Cox | 2012-09-08 | 1 | -5/+7 |
| | | | | | | R=rsc http://codereview.appspot.com/6495109 | ||||
| * | lib9: fix openbsd build | David du Colombier | 2012-06-27 | 1 | -0/+1 |
| | | | | | | | | | Fix build error and warning on OpenBSD 5.1, as reported by Dimitri Sokolyuk. R=rsc http://codereview.appspot.com/6350044 | ||||
| * | lib9/dial: add support for IPv6 | David du Colombier | 2012-06-02 | 1 | -52/+53 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The function p9dialparse() returns the host as a sockaddr_storage structure instead of a u32int, to be able to handle both IPv4 and IPv6 addresses. Because the sockaddr_storage structure also handle port numbers and Unix path names, there is no longer need to set them in the calling functions. However, these values are still returned for convenience. The sockaddr_in and sockaddr_un structures have been replaced by sockaddr_storage to handle Unix, IPv4 and IPv6 sockets. Names and addresses are resolved using either gethostbyname() or getaddrinfo() functions. The getaddrinfo() function is documented in RFC2553 and standardized since POSIX.1-2001. It supports both IPv4 and IPv6 addresses. The gethostbyname() function is deprecated since POSIX.1-2008. However, some libc implementations don't handle getaddrinfo() properly, thus we preferred to try gethostbyname() first. I've tried to preserve most of the old code logic to prevent from surprising or unwanted behavior. R=rsc http://codereview.appspot.com/6255068 | ||||
| * | fix type-punned pointer warnings from gcc | Russ Cox | 2010-03-10 | 1 | -1/+1 |
| | | | | | | R=rsc http://codereview.appspot.com/396042 | ||||
| * | ignore /net/ prefixes - been long enough | rsc | 2006-07-23 | 1 | -3/+0 |
| | | |||||
| * | add dns | rsc | 2006-02-20 | 1 | -0/+2 |
| | | |||||
| * | make sure to set p9unix | rsc | 2005-05-07 | 1 | -0/+1 |
| | | |||||
| * | hard code list of plan 9 services in case they are not in /etc/services | rsc | 2005-02-11 | 1 | -3/+33 |
| | | |||||
| * | Include netinet/in.h to get ntohs prototype. | wkj | 2004-12-29 | 1 | -0/+1 |
| | | |||||
| * | publish p9dialparse | rsc | 2004-06-16 | 1 | -1/+1 |
| | | |||||
| * | Make things build on FreeBSD again. | rsc | 2003-11-23 | 1 | -3/+5 |
| | | |||||
| * | Annoying changes to work on Sun boxes. | rsc | 2003-11-23 | 1 | -5/+5 |
| | | |||||
| * | Various additions and fixes. | rsc | 2003-11-23 | 1 | -0/+151 |
