/* Copyright (c) 2001, Stanford University
* All rights reserved
*
* See the file LICENSE.txt for information on redistributing this software.
*/
#include "cr_net.h"
#include "cr_mem.h"
#include "cr_error.h"
#include "net_internals.h"
static void
{
(void) conn;
(void) buf;
(void) len;
}
static void *
{
}
static void
{
crError( "You can't receive data on a devnull connection!" );
(void) conn;
(void) buf;
(void) len;
}
static void
{
(void) conn;
}
static void
{
if (bufp)
{
/* We're sending something we've allocated. It's now ours.
* If the callers wants to send something else, he'll allocate
* something else.
*
* ENFORCE IT! */
}
(void) conn;
(void) bufp;
(void) start;
(void) len;
}
int
crDevnullRecv( void )
{
crError( "You can't receive data on a DevNull network, stupid." );
return 0;
}
void
{
(void) rfl;
(void) cfl;
(void) mtu;
}
static void
{
crError( "Well, you *could* accept a devnull client, but you'd be disappointed. ");
(void) conn;
(void) port;
}
static int
{
(void) conn;
return 1;
}
static void
{
(void) conn;
}
{
conn->actual_network = 0;
}
{
*num = 0;
return NULL;
}