diff options
Diffstat (limited to 'src/include/ipxe/udp.h')
| -rw-r--r-- | src/include/ipxe/udp.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/include/ipxe/udp.h b/src/include/ipxe/udp.h index 5e55c5e8c..c18a29723 100644 --- a/src/include/ipxe/udp.h +++ b/src/include/ipxe/udp.h @@ -16,7 +16,8 @@ FILE_LICENCE ( GPL2_OR_LATER ); #include <ipxe/tcpip.h> #include <ipxe/if_ether.h> -struct xfer_interface; +struct interface; +struct sockaddr; /** * UDP constants @@ -40,8 +41,8 @@ struct udp_header { uint16_t chksum; }; -extern int udp_open_promisc ( struct xfer_interface *xfer ); -extern int udp_open ( struct xfer_interface *xfer, struct sockaddr *peer, +extern int udp_open_promisc ( struct interface *xfer ); +extern int udp_open ( struct interface *xfer, struct sockaddr *peer, struct sockaddr *local ); #endif /* _IPXE_UDP_H */ |
