vaseboot/VasEBoot-core/osdep/basic/emunet.c

51 lines
1.3 KiB
C

/*
* VAS_EBOOT -- GRand Unified Bootloader
* Copyright (C) 2010,2011,2012,2013 Free Software Foundation, Inc.
*
* VAS_EBOOT is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* VAS_EBOOT 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with VAS_EBOOT. If not, see <http://www.gnu.org/licenses/>.
*/
#include <config-util.h>
#include <config.h>
#include <VasEBoot/i18n.h>
#include <VasEBoot/emu/net.h>
VasEBoot_ssize_t
VasEBoot_emunet_send (const void *packet __attribute__ ((unused)),
VasEBoot_size_t sz __attribute__ ((unused)))
{
return -1;
}
VasEBoot_ssize_t
VasEBoot_emunet_receive (void *packet __attribute__ ((unused)),
VasEBoot_size_t sz __attribute__ ((unused)))
{
return -1;
}
int
VasEBoot_emunet_create (VasEBoot_size_t *mtu)
{
*mtu = 1500;
return -1;
}
void
VasEBoot_emunet_close (void)
{
return;
}