socket: fix broken connect for non broadcast traffic

commit 1c1e09a completely broke connects for non broadcast
traffic since it forgot to copy the server address into
the socket_storage struct.

Signed-off-by: Peter Lieven <pl@kamp.de>
Merge pull request #79 from plieven/readahead

socket: fix broken connect for non broadcast traffic
init.c: use list macro when removing pdus from the wait list

Use the macro when removing the pdus in the wait list from the queues.
Also make sure to remove them from the right queue, from waitqueue and not
the outqueue for PDUs we have already sent out.

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
init.c: fixup the mangled lgplv2.1 boilerplate

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
proto files: add a simplified bsd licence to the dot-x files

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
aros: add licence to aros_compat.h

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
win32_errnowrapper.h: add licence boilerplate

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
libnfs.c: always pass the attributes to the callback for recursive lookups

Always pass a fattr3 structure to the callbacks for the internal function
to perform recursive lookups : nfs_lookuppath_async().
This will allow us to access for example the mtime for an object before we
start performing any expensive functions.

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
libnfs.c: add a simple dircache to libnfs

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
libnfs.c: add nlink to nfsdirent so we can get it for 'free'

update the nfs-ls utility to just use nfsdirent as is instead of having to
stat the files.

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
update copyright bilerplates also in generated files

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
add readahead support

This patch add support for an internal readahead machanism. The maximum readahead
size can be specified via URL parameter readahead. This should significantly
speed up small sequential reads.

Signed-off-by: Peter Lieven <pl@kamp.de>
Merge pull request #82 from plieven/readahead

add readahead support
libnfs.c: Change the directory cache to a smaller more reasonable value

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
New version 1.9.4

New version of libnfs:

- IPv6 support
- Support for Portmapper version 3 and an example portmap client.
- Directory caching top make repeated opendir() calls faster
- Readahead support
- Build manpages for the utilities (==nfs-ls)
- Support for O_APPEND
- Rename the list macros to avoid collission on *BSD

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
Merge tag 'libnfs-1.9.4'

Tag for 1.9.4