Commit Graph

  • c711c568c1 rpc: track the number of pdus in the waitpdu queues Peter Lieven 2017-01-12 14:38:11 +0100
  • 25dc54da93 Merge pull request #162 from plieven/for_upstream Ronnie Sahlberg 2017-01-07 08:49:50 -0800
  • bd16e8db5c Revert "socket: batch pdu read in function rpc_read_from_socket" Peter Lieven 2017-01-05 12:13:56 +0100
  • 43cde9daf6 Merge pull request #160 from kevin-vigor/master Ronnie Sahlberg 2016-12-27 15:39:28 -0800
  • c2cd9fdec1 Return ESTALE for NFS3ERR_STALE, not EIO. Kevin Vigor 2016-12-27 16:10:11 -0700
  • 77ae1fbed4 Merge pull request #158 from plieven/for_upstream Ronnie Sahlberg 2016-12-26 17:22:34 -0800
  • 01ca79972a WIN32: SO_TYPE is a char on windows not int. Ronnie Sahlberg 2016-12-26 17:05:01 -0800
  • ca67c18db2 Fix compiler warning for min/max version being unset (which can not happen) Ronnie Sahlberg 2016-12-26 16:51:28 -0800
  • 46d63f13b7 PORTMAP: Remove buf variable where we do not use/need it from the generated files Ronnie Sahlberg 2016-12-26 16:48:49 -0800
  • b06b37ec99 NFS4: Remove the buf variable from the generated c code as it is unused. Ronnie Sahlberg 2016-12-26 16:42:51 -0800
  • d93cc94d1b WIN32: VS does not like the spurious int i; that rpcgen sometimes generate Ronnie Sahlberg 2016-12-26 16:26:14 -0800
  • 85853ae9f0 WIN32: Add nfs4 to the visual studio project files Ronnie Sahlberg 2016-12-26 16:09:36 -0800
  • 003b3c7ce2 socket: batch pdu read in function rpc_read_from_socket Peter Lieven 2016-12-22 15:42:58 +0100
  • a22464c380 socket: avoid to realloc the rpc->inbuf Peter Lieven 2016-12-22 15:12:56 +0100
  • a0249fe9a6 socket: don't leak buf in case of rpc_process_pdu error Peter Lieven 2016-12-22 14:55:04 +0100
  • 0a4f9cd8a8 EXAMPLE: nfs4-cat-talloc Ronnie Sahlberg 2016-12-17 15:25:50 -0800
  • adf158bb23 Update README and mention NFSv4 and general RPC server support. Ronnie Sahlberg 2016-12-05 19:30:43 -0800
  • 85aca36e02 EXAMPLE: portmapper server Ronnie Sahlberg 2016-11-30 16:41:18 -0800
  • 2cffb48c9d Add PMAP2 UNSET support to the portmapper client Ronnie Sahlberg 2016-12-03 13:26:37 -0800
  • 34926e9d94 Add support for PMAP2 SET operation to the portmapper client Ronnie Sahlberg 2016-12-03 13:01:59 -0800
  • 6d397028ba EXAMPLE: Add nfs4-cat example Ronnie Sahlberg 2016-11-29 05:34:52 -0800
  • 2d348242c5 Make zdr_malloc() visible outside of libnfs-zdr.c Ronnie Sahlberg 2016-12-03 10:18:36 -0800
  • 57a9bd8565 Automatically detect if a server context fd is a UDP socket or not Ronnie Sahlberg 2016-12-01 15:41:08 -0800
  • eb6b39125c Initial rpc server support Ronnie Sahlberg 2016-11-29 05:36:59 -0800
  • 6f860fd874 Add ZDR* and void* as arguments to zr_void so that it can be used as a zdrproc_t Ronnie Sahlberg 2016-12-03 14:11:43 -0800
  • be2c87c2cd Update portmap.x to use nicer names for procedure arguments and responses Ronnie Sahlberg 2016-12-03 12:11:21 -0800
  • f4273cf9ff Change type of zdrproc_t to return uint32_t instead of int Ronnie Sahlberg 2016-12-02 16:55:40 -0800
  • 7596d0f300 Use a static sockaddr_storage for rpc.udp_dest Ronnie Sahlberg 2016-12-01 17:39:46 -0800
  • 853474d387 Add NFSv4 protocol definitions Ronnie Sahlberg 2016-11-29 05:35:58 -0800
  • 9eaa36c4bf Remove sockaddr argument to rpc_connect_sockaddr_async Ronnie Sahlberg 2016-12-01 08:48:32 -0800
  • dccffb86ee Create a new helper function to set the sockaddr for a rpc context Ronnie Sahlberg 2016-12-01 08:45:59 -0800
  • 6f8b2f85ca socketsize is of type socklen_t not int Ronnie Sahlberg 2016-12-01 08:37:14 -0800
  • 11f85665fc Add a PDU flag for discard after sending. Ronnie Sahlberg 2016-11-28 21:34:40 -0800
  • 6f27daf6d4 Create a generic RPC NULL function Ronnie Sahlberg 2016-11-27 12:46:23 -0800
  • 468424c475 ZDR_ARRAY: remove the check for element-size * num-objects Ronnie Sahlberg 2016-11-25 14:40:40 -0800
  • a2b37349fa Update README about capability support and fix some typos. Ronnie Sahlberg 2016-11-06 15:16:31 -0800
  • 85760ec4d6 Fixes to build nfs-ls and nfs-cp on win32 Ronnie Sahlberg 2016-11-06 12:14:38 -0800
  • 2edbd14779 New version 1.11.0 Ronnie Sahlberg 2016-10-09 10:43:46 -0700
  • 235cb45e69 Conditionally define _GNU_SOURCE Ronnie Sahlberg 2016-10-09 11:14:53 -0700
  • 048e7737d9 WIN32: map open to _open. Same for lseek, read, write sahlberg 2016-09-21 15:47:19 -0700
  • 8c8e615e54 nfs-cp change uint64_t to size_t for the read/write wrappers sahlberg 2016-09-21 11:30:15 -0700
  • 2ff6131244 nfs-cp remove unused variable ret sahlberg 2016-09-21 11:27:27 -0700
  • 232c9da7cf WIN32: conditionally remove some stat fields that are not present under win32 sahlberg 2016-09-21 11:24:00 -0700
  • 84c894c8a4 nfs-cp: add casts between the nfs stat elements and the normal stat elements sahlberg 2016-09-21 11:17:09 -0700
  • 72bcd185db WIN32: remove the nfsclient-* examples from the project sahlberg 2016-09-21 11:05:20 -0700
  • adc46ec1b0 WIN32: Change examples -> utils for nfs-ls and nfs-cp project filter sahlberg 2016-09-21 11:02:53 -0700
  • dc8e10df07 WIN32: compiler warnings sahlberg 2016-09-21 09:58:01 -0700
  • 6b6d6084d0 WIN32: Fix types for max_watch_len st_dev and st_ino sahlberg 2016-09-21 09:45:55 -0700
  • 3d1351bf82 WIN32: make pagecache ttl of type time_t sahlberg 2016-09-21 09:32:45 -0700
  • c000bf2acc WIN32: Add include paths for include/nfsc for x64 builds Ronnie Sahlberg 2016-09-20 18:36:17 -0700
  • 2601b42496 WIN32: remove references to onc-rpc Ronnie Sahlberg 2016-09-20 18:29:13 -0700
  • 9a65270510 WIN32: Add portmap to the include paths Ronnie Sahlberg 2016-09-20 18:16:21 -0700
  • b70d5b6dac WIN32: No need to run rpcgen.exe anymore. Remove from project. Ronnie Sahlberg 2016-09-20 18:07:36 -0700
  • fc2501dc45 Merge branch 'master' of github.com:sahlberg/libnfs Ronnie Sahlberg 2016-09-20 17:45:37 -0700
  • e53758fc43 compiler warnings sahlberg 2016-09-20 13:57:56 -0700
  • 6d3e9814fa more win32 fixes sahlberg 2016-09-20 13:51:38 -0700
  • c672db8351 WIN32: Use size_t for the rpc fragment size sahlberg 2016-09-20 13:46:03 -0700
  • 563c112343 WIN32: fix compile warnings in nfs.c sahlberg 2016-09-20 13:37:15 -0700
  • 53f634468c WIN32: Update the path to nfs-{cp|ls}.c Ronnie Sahlberg 2016-09-20 17:42:46 -0700
  • b741a44f81 WIN32: Add portmap to more include directives sahlberg 2016-09-20 12:53:33 -0700
  • 4c3d809e07 WIN32: Don't call assert() before all variables are declared. sahlberg 2016-09-20 12:35:46 -0700
  • 799abde68d WIN32: win32 does not have IFNAMSIZ sahlberg 2016-09-20 12:01:06 -0700
  • 6cde2aca64 Conditionally include unistd.h from libnfs-zdr.c as some platforms lack this header Ronnie Sahlberg 2016-09-19 18:36:59 -0700
  • b0c3cb3415 Conditionally include unistd.h from libnfs-zdr.c a some platforms lack this header Ronnie Sahlberg 2016-09-19 18:36:59 -0700
  • 5f75307a36 Added the ability to bind to a specific interface with the `nfs_set_interface` and `rpc_set_interface` APIs, or via the NFS URL `if=<interface>` parameter. This feature requires `root` permissions. Chris 2016-07-29 12:25:39 -0500
  • fac3a95453 Make rpc_disconnect() a no-op if the session is already disconnected Ronnie Sahlberg 2016-07-05 13:18:17 -0700
  • 28e01e67b1 Add seekdir and telldir support Ronnie Sahlberg 2016-07-05 10:14:49 -0700
  • cdbcdfd736 Update some comment and fix typos Ronnie Sahlberg 2016-07-05 09:59:30 -0700
  • d9e75d56fa Add comment that nfs_rewinddir will never block. Ronnie Sahlberg 2016-06-21 19:30:00 -0700
  • 4388570dc4 Merge pull request #151 from benoit-canet/rewinddir Ronnie Sahlberg 2016-06-21 19:28:20 -0700
  • 4cc09b972a Fix crash in nfs_truncate due to dereference of uninitialized data Ronnie Sahlberg 2016-06-21 19:25:27 -0700
  • 352fb5bb70 nfs_rewinddir: introduce additional nfs_rewinddir() Benoît Canet 2016-06-07 08:35:39 +0200
  • cdd1643c76 Merge pull request #150 from plieven/for_upstream Ronnie Sahlberg 2016-06-03 05:07:45 -0700
  • 10546da322 pagecache: define hash constant as UL Peter Lieven 2016-06-02 09:42:33 +0200
  • f9455e5ba5 gcc 5.3 does not allow casting a char * to any longer, so cast via void * Ronnie Sahlberg 2016-06-01 18:14:01 -0700
  • 9cb49494c7 pdu: drop the rpc->encodebuf Peter Lieven 2016-06-02 09:12:53 +0200
  • 21c466254a libnfs: avoid a bounce buffer in pread if possible Peter Lieven 2016-05-31 21:55:14 +0200
  • 14492d5c65 pagecache: allow readahead and pagecache options to coexist Peter Lieven 2016-05-31 12:05:20 +0200
  • 5a660d5afc libnfs-sync: make send_nfsd_probes portable Peter Lieven 2016-05-31 09:18:18 +0200
  • 36d687cdbc pagecache: avoid time() syscall if the cache has no ttl Peter Lieven 2016-05-31 08:34:17 +0200
  • 654243473a Merge pull request #148 from plieven/fix_hang Ronnie Sahlberg 2016-05-30 09:27:05 -0700
  • 453db33f07 pdu: fix potential overflow in rpc_get_pdu_size Peter Lieven 2016-05-30 16:10:56 +0200
  • 295057aba4 socket: really handle count == 0 in rpc_read_from_socket Peter Lieven 2016-05-30 16:06:35 +0200
  • 00d9ba1563 Remove rpc_set_tcp_syncnt from the nfs-cat utility Ronnie Sahlberg 2016-05-17 18:38:30 -0700
  • cef46f4803 Merge pull request #146 from plieven/pagecache_v2 Ronnie Sahlberg 2016-05-17 06:18:26 -0700
  • 922ae3ef4d libnfs: fix compiler warnings on 32bit systems Peter Lieven 2016-05-17 09:10:22 +0200
  • 3e2847226f libnfs: add a pagecache Peter Lieven 2016-05-13 12:03:40 +0200
  • 77d592c8e9 configure.ac: really build with -Werror by default Peter Lieven 2016-05-13 10:38:45 +0200
  • b3c4106022 Add win32 magics to example programs Ronnie Sahlberg 2016-04-27 19:32:16 -0700
  • a5408bfa09 zdr string decode: don't memcpy when src and dst pointers are the same Ronnie Sahlberg 2016-03-21 22:06:59 -0700
  • 3c26ce1e6b Merge pull request #143 from jbkempf/android_ndk_statvfs Ronnie Sahlberg 2016-03-14 19:16:28 -0700
  • 936b8ec588 Merge branch 'master' of github.com:sahlberg/libnfs Ronnie Sahlberg 2016-03-14 19:15:11 -0700
  • 83d1005c6b sync apis with timeout values Kuldeep Kumar 2016-03-02 11:05:41 +0530
  • 1c13afae56 fix spelling errors. Dirk Jagdmann 2016-02-10 15:06:08 -0800
  • 41c41aec0b Android: only redefine statvfs if it is not already defined Jean-Baptiste Kempf 2016-03-11 00:09:16 +0100
  • eebe56cee7 Merge branch 'master' of github.com:sahlberg/libnfs Ronnie Sahlberg 2016-02-24 18:06:52 -0800
  • 8372dbe7d1 Discard readahead cache on pwrite and truncate too Ronnie Sahlberg 2016-02-24 18:03:48 -0800
  • 2927ce048c Merge pull request #139 from doj/master Ronnie Sahlberg 2016-02-13 19:48:35 -0800
  • cb923a2f54 link/rename uses two directories. We must drop both drom the dircache. Ronnie Sahlberg 2016-02-10 22:43:35 -0800
  • 0623dabf1e fix spelling errors. Dirk Jagdmann 2016-02-10 15:06:08 -0800