nfsd.c (140679) | nfsd.c (153590) |
---|---|
1/* 2 * Copyright (c) 1989, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Rick Macklem at The University of Guelph. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 27 unchanged lines hidden (view full) --- 36 The Regents of the University of California. All rights reserved.\n"; 37#endif /* not lint */ 38 39#ifndef lint 40#if 0 41static char sccsid[] = "@(#)nfsd.c 8.9 (Berkeley) 3/29/95"; 42#endif 43static const char rcsid[] = | 1/* 2 * Copyright (c) 1989, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Rick Macklem at The University of Guelph. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 27 unchanged lines hidden (view full) --- 36 The Regents of the University of California. All rights reserved.\n"; 37#endif /* not lint */ 38 39#ifndef lint 40#if 0 41static char sccsid[] = "@(#)nfsd.c 8.9 (Berkeley) 3/29/95"; 42#endif 43static const char rcsid[] = |
44 "$FreeBSD: head/usr.sbin/nfsd/nfsd.c 140679 2005-01-23 21:34:00Z rwatson $"; | 44 "$FreeBSD: head/usr.sbin/nfsd/nfsd.c 153590 2005-12-21 02:25:59Z delphij $"; |
45#endif /* not lint */ 46 47#include <sys/param.h> 48#include <sys/syslog.h> 49#include <sys/wait.h> 50#include <sys/mount.h> 51#include <sys/linker.h> 52#include <sys/module.h> --- 66 unchanged lines hidden (view full) --- 119 struct nfsd_args nfsdargs; 120 struct addrinfo *ai_udp, *ai_tcp, *ai_udp6, *ai_tcp6, hints; 121 struct netconfig *nconf_udp, *nconf_tcp, *nconf_udp6, *nconf_tcp6; 122 struct netbuf nb_udp, nb_tcp, nb_udp6, nb_tcp6; 123 struct sockaddr_in inetpeer; 124 struct sockaddr_in6 inet6peer; 125 fd_set ready, sockbits; 126 fd_set v4bits, v6bits; | 45#endif /* not lint */ 46 47#include <sys/param.h> 48#include <sys/syslog.h> 49#include <sys/wait.h> 50#include <sys/mount.h> 51#include <sys/linker.h> 52#include <sys/module.h> --- 66 unchanged lines hidden (view full) --- 119 struct nfsd_args nfsdargs; 120 struct addrinfo *ai_udp, *ai_tcp, *ai_udp6, *ai_tcp6, hints; 121 struct netconfig *nconf_udp, *nconf_tcp, *nconf_udp6, *nconf_tcp6; 122 struct netbuf nb_udp, nb_tcp, nb_udp6, nb_tcp6; 123 struct sockaddr_in inetpeer; 124 struct sockaddr_in6 inet6peer; 125 fd_set ready, sockbits; 126 fd_set v4bits, v6bits; |
127 int ch, connect_type_cnt, i, len, maxsock, msgsock; | 127 int ch, connect_type_cnt, i, maxsock, msgsock; 128 size_t len; |
128 int on = 1, unregister, reregister, sock; 129 int tcp6sock, ip6flag, tcpflag, tcpsock; 130 int udpflag, ecode, s, srvcnt; 131 int bindhostc, bindanyflag, rpcbreg, rpcbregcnt; 132 char **bindhost = NULL; 133 pid_t pid; 134 135 if (modfind("nfsserver") < 0) { --- 707 unchanged lines hidden --- | 129 int on = 1, unregister, reregister, sock; 130 int tcp6sock, ip6flag, tcpflag, tcpsock; 131 int udpflag, ecode, s, srvcnt; 132 int bindhostc, bindanyflag, rpcbreg, rpcbregcnt; 133 char **bindhost = NULL; 134 pid_t pid; 135 136 if (modfind("nfsserver") < 0) { --- 707 unchanged lines hidden --- |