]> git.proxmox.com Git - grub2.git/blob - grub-core/osdep/basic/emunet.c
Import grub2_2.02+dfsg1.orig.tar.xz
[grub2.git] / grub-core / osdep / basic / emunet.c
1 /*
2 * GRUB -- GRand Unified Bootloader
3 * Copyright (C) 2010,2011,2012,2013 Free Software Foundation, Inc.
4 *
5 * GRUB is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * GRUB is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with GRUB. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 #include <config.h>
20 #include <config-util.h>
21
22 #include <grub/i18n.h>
23 #include <grub/emu/net.h>
24
25 grub_ssize_t
26 grub_emunet_send (const void *packet __attribute__ ((unused)),
27 grub_size_t sz __attribute__ ((unused)))
28 {
29 return -1;
30 }
31
32 grub_ssize_t
33 grub_emunet_receive (void *packet __attribute__ ((unused)),
34 grub_size_t sz __attribute__ ((unused)))
35 {
36 return -1;
37 }
38
39 int
40 grub_emunet_create (grub_size_t *mtu)
41 {
42 *mtu = 1500;
43 return -1;
44 }
45
46 void
47 grub_emunet_close (void)
48 {
49 return;
50 }