summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2006-04-05 13:43:01 +0200
committerMichael Brown2006-04-05 13:43:01 +0200
commitc8a7133e9f7b5fcbedbcdf0a451010b7cd86eed8 (patch)
treec0cb9c0e42210d8e05f2d85d7c7134552fad39ad /src/include
parentAdded set_netmask() and set_gateway() (diff)
downloadipxe-c8a7133e9f7b5fcbedbcdf0a451010b7cd86eed8.tar.gz
ipxe-c8a7133e9f7b5fcbedbcdf0a451010b7cd86eed8.tar.xz
ipxe-c8a7133e9f7b5fcbedbcdf0a451010b7cd86eed8.zip
Added tcp_buffer, to give applications a zero-cost place to build data to
be transmitted.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gpxe/tcp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/gpxe/tcp.h b/src/include/gpxe/tcp.h
index cb275f811..bcb153651 100644
--- a/src/include/gpxe/tcp.h
+++ b/src/include/gpxe/tcp.h
@@ -92,6 +92,8 @@ struct tcp_connection {
struct tcp_operations *tcp_op;
};
+extern void *tcp_buffer;
+extern size_t tcp_buflen;
extern int tcp_connect ( struct tcp_connection *conn );
extern void tcp_send ( struct tcp_connection *conn, const void *data,
size_t len );