Displaying 3 results from an estimated 3 matches for "fxnt84ff3".
2010 Feb 23
0
[PATCH 1/3] nfsmount.h: Add missing definitions.
...644
--- a/usr/kinit/nfsmount/nfsmount.h
+++ b/usr/kinit/nfsmount/nfsmount.h
@@ -3,6 +3,9 @@
#include <linux/nfs_mount.h>
+#define MNTPROC_MNT 1
+#define MNTPROC_UMNT 3
+
extern int nfs_port;
extern int nfsmount_main(int argc, char *argv[]);
--
1.6.6.1
--r5Pyd7+fXNt84Ff3
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="0002-klibc-nfsmount-s-PF_INET-AF_INET.patch"
2010 Feb 23
0
[PATCH 2/3] nfsmount: s/PF_INET/AF_INET/
...*udp_client(uint32_t server, uint16_t port, uint32_t flags)
memset(clnt, 0, sizeof(clnt));
- if ((sock = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP)) == -1) {
+ if ((sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)) == -1) {
perror("socket");
goto bail;
}
--
1.6.6.1
--r5Pyd7+fXNt84Ff3
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="0003-klibc-Add-relevant-socket.h-definitions.patch"
2010 Feb 23
0
[PATCH 3/3] Add relevant socket.h definitions
...families */
+#define AF_INET 2 /* Internet IP Protocol */
+#define AF_INET6 10 /* IP version 6 */
+#define AF_PACKET 17 /* Packet family */
+
+/* Flags we can use with send/ and recv. */
+#define MSG_PEEK 2
+
typedef int socklen_t;
__extern int socket(int, int, int);
--
1.6.6.1
--r5Pyd7+fXNt84Ff3--