mirror of
https://github.com/ipxe/ipxe
synced 2025-12-13 15:31:42 +03:00
Protocols also take a pointer to a sockaddr_in.
This commit is contained in:
@@ -5,7 +5,8 @@
|
|||||||
|
|
||||||
struct protocol {
|
struct protocol {
|
||||||
char *name;
|
char *name;
|
||||||
int ( * load ) ( const char *name,
|
int ( * load ) ( char *url,
|
||||||
|
struct sockaddr_in *server,
|
||||||
int ( * process ) ( unsigned char *data,
|
int ( * process ) ( unsigned char *data,
|
||||||
unsigned int blocknum,
|
unsigned int blocknum,
|
||||||
unsigned int len,
|
unsigned int len,
|
||||||
|
|||||||
Reference in New Issue
Block a user