mirror of https://github.com/ipxe/ipxe.git
Protocols also take a pointer to a sockaddr_in.
parent
00b78f73a4
commit
55ae308821
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue