mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-29 02:31:05 +00:00
Adapt protocols to new network struct.
This commit is contained in:
1 parent
09375846b9
commit
25f1579b43
15 files changed
+296
-208
No files matched your search
+2
-10
@@ -12,20 +12,12 @@ struct udphdr
|
||||
} __attribute__ ((packed));
|
||||
|
||||
grub_err_t
|
||||
grub_net_send_udp_packet (const grub_net_network_level_address_t *target,
|
||||
struct grub_net_buff *nb, grub_uint16_t srcport,
|
||||
grub_uint16_t destport);
|
||||
|
||||
grub_net_send_udp_packet (const grub_net_socket_t socket , struct grub_net_buff *nb);
|
||||
|
||||
grub_err_t
|
||||
grub_net_recv_udp_packets (struct grub_net_network_level_interface *inf);
|
||||
grub_net_recv_udp_packet (struct grub_net_buff *nb);
|
||||
|
||||
grub_err_t
|
||||
grub_net_recv_udp_packet (const grub_net_network_level_address_t *target,
|
||||
struct grub_net_buff *buf,
|
||||
grub_uint16_t srcport, grub_uint16_t destport);
|
||||
|
||||
#define FOR_NET_UDP_PACKETS(inf, var) FOR_PACKETS(inf->udp_pending, var)
|
||||
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user