mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-26 09:10:53 +00:00
move packet allocation to recv code to allow bigger buffers
This commit is contained in:
1 parent
6a1af81a97
commit
e2955971a3
7 files changed
+105
-55
No files matched your search
+1
-2
@@ -64,8 +64,7 @@ struct grub_net_card_driver
|
||||
void (*close) (const struct grub_net_card *dev);
|
||||
grub_err_t (*send) (const struct grub_net_card *dev,
|
||||
struct grub_net_buff *buf);
|
||||
grub_ssize_t (*recv) (const struct grub_net_card *dev,
|
||||
struct grub_net_buff *buf);
|
||||
struct grub_net_buff * (*recv) (const struct grub_net_card *dev);
|
||||
};
|
||||
|
||||
typedef struct grub_net_packet
|
||||
|
||||
Reference in new issue
Block a user