/*= -*- c-basic-offset: 4; indent-tabs-mode: nil; -*-
 *
 * n4: A fast userspace NFSv4 server.
 * $Id: nfs3.c,v 1.1 2001/05/30 06:04:59 mbp Exp $
 * 
 * Copyright (C) 2001 by Martin Pool <mbp@samba.org>
 * 
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public License
 * as published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public
 * License along with this program; if not, write to the Free Software
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */

                    /*
                     | You teach best what you most need to learn.
                     */

#include <includes.h>


MKPROTO n4err n4nfs3_spit_nop(n4outbuf *b)
{
    n4buf_check_outbuf(b);
    n4outbuf_expand(b, 10);

    PACK(b, g_htonl(0x11031976));
    PACK(b, g_htonl(RPC_CALL));
    PACK(b, g_htonl(RPC_VERSION2));
    PACK(b, g_htonl(NFS_RPC_PROG));
    PACK(b, g_htonl(3));              // NFS3_RPC_VERS));
    PACK(b, g_htonl(NFSPROC3_NULL));
    PACK(b, g_htonl(RPC_AUTH_NONE));
    PACK(b, g_htonl(0));
    PACK(b, g_htonl(RPC_AUTH_NONE));
    PACK(b, g_htonl(0));

    return N4OK;
}

