iPXE
|
UDP protocol. More...
Go to the source code of this file.
Data Structures | |
struct | udp_header |
UDP constants. More... | |
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
int | udp_open_promisc (struct interface *xfer) |
Open a promiscuous UDP connection. More... | |
int | udp_open (struct interface *xfer, struct sockaddr *peer, struct sockaddr *local) |
Open a UDP connection. More... | |
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
int udp_open_promisc | ( | struct interface * | xfer | ) |
Open a promiscuous UDP connection.
xfer | Data transfer interface |
rc | Return status code |
Promiscuous UDP connections are required in order to support the PXE API.
Definition at line 144 of file udp.c.
References NULL, udp_open_common(), and udp_connection::xfer.
Referenced by efi_pxe_udp_open(), and pxenv_udp_open().
Open a UDP connection.
xfer | Data transfer interface |
peer | Peer socket address |
local | Local socket address, or NULL |
rc | Return status code |
Definition at line 130 of file udp.c.
References udp_connection::local, peer, udp_open_common(), and udp_connection::xfer.