summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/ip.h
diff options
context:
space:
mode:
authorMichael Brown2007-05-19 20:39:40 +0200
committerMichael Brown2007-05-19 20:39:40 +0200
commit3e2c6b6736729633c5d6c00cd31458a1c6a49730 (patch)
tree8c9e1ed94b301680c9870ed09424e3a2a2e4bafa /src/include/gpxe/ip.h
parentAdd explicit "freeing" debug messages. (diff)
downloadipxe-3e2c6b6736729633c5d6c00cd31458a1c6a49730.tar.gz
ipxe-3e2c6b6736729633c5d6c00cd31458a1c6a49730.tar.xz
ipxe-3e2c6b6736729633c5d6c00cd31458a1c6a49730.zip
pkbuff->iobuf changeover
Achieved via Perl using: perl -pi -e 's/pk_buff/io_buffer/g; s/Packet buffer/I\/O buffer/ig; ' \ -e 's/pkbuff\.h/iobuf.h/g; s/pkb_/iob_/g; s/_pkb/_iob/g; ' \ -e 's/pkb/iobuf/g; s/PKB/IOB/g;'
Diffstat (limited to 'src/include/gpxe/ip.h')
-rw-r--r--src/include/gpxe/ip.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/gpxe/ip.h b/src/include/gpxe/ip.h
index d212b3ef..9a5b7a81 100644
--- a/src/include/gpxe/ip.h
+++ b/src/include/gpxe/ip.h
@@ -25,7 +25,7 @@
#define IP_TOS 0
#define IP_TTL 64
-#define IP_FRAG_PKB_SIZE 1500
+#define IP_FRAG_IOB_SIZE 1500
#define IP_FRAG_TIMEOUT 50
/* IP4 pseudo header */
@@ -63,15 +63,15 @@ struct frag_buffer {
struct in_addr src;
/* Destination network address */
struct in_addr dest;
- /* Reassembled packet buffer */
- struct pk_buff *frag_pkb;
+ /* Reassembled I/O buffer */
+ struct io_buffer *frag_iob;
/* Reassembly timer */
struct retry_timer frag_timer;
/* List of fragment reassembly buffers */
struct list_head list;
};
-struct pk_buff;
+struct io_buffer;
struct net_device;
struct net_protocol;
struct tcpip_protocol;