summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gpxe/pkbuff.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/gpxe/pkbuff.h b/src/include/gpxe/pkbuff.h
index 92244fd59..6c504029f 100644
--- a/src/include/gpxe/pkbuff.h
+++ b/src/include/gpxe/pkbuff.h
@@ -28,6 +28,15 @@ struct ll_protocol;
*/
#define PKBUFF_ALIGN 2048
+/**
+ * Minimum packet buffer length
+ *
+ * alloc_pkb() will round up the allocated length to this size if
+ * necessary. This is used on behalf of hardware that is not capable
+ * of auto-padding.
+ */
+#define PKB_ZLEN 64
+
/** A packet buffer
*
* This structure is used to represent a network packet within gPXE.