summaryrefslogtreecommitdiffstats
path: root/src/include/proto.h
diff options
context:
space:
mode:
authorMichael Brown2005-05-02 01:57:09 +0200
committerMichael Brown2005-05-02 01:57:09 +0200
commitf14af3d95c618fe3b57e38fa005a9d85d9ccaa81 (patch)
treef0cc27c56756dfd008f01e31396af238b9911c6e /src/include/proto.h
parentMade parse_url do more of the processing, to avoid duplicating parts of (diff)
downloadipxe-f14af3d95c618fe3b57e38fa005a9d85d9ccaa81.tar.gz
ipxe-f14af3d95c618fe3b57e38fa005a9d85d9ccaa81.tar.xz
ipxe-f14af3d95c618fe3b57e38fa005a9d85d9ccaa81.zip
Protocol structure can now specify the default port.
Diffstat (limited to 'src/include/proto.h')
-rw-r--r--src/include/proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/proto.h b/src/include/proto.h
index 38658ac8f..2c157ee4e 100644
--- a/src/include/proto.h
+++ b/src/include/proto.h
@@ -2,9 +2,11 @@
#define PROTO_H
#include "tables.h"
+#include "in.h"
struct protocol {
char *name;
+ in_port_t default_port;
int ( * load ) ( char *url,
struct sockaddr_in *server,
char *file,