summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/nvo.h
diff options
context:
space:
mode:
authorMichael Brown2006-12-04 23:04:10 +0100
committerMichael Brown2006-12-04 23:04:10 +0100
commitab4e1dba3fe44a94c5bc425d737571bdc7b21fda (patch)
tree3bd06e547da1630acd904cd6fd3cd1c1aa9ed7f0 /src/include/gpxe/nvo.h
parentAdd the concept of a fragment list for non-volatile stored options. (diff)
downloadipxe-ab4e1dba3fe44a94c5bc425d737571bdc7b21fda.tar.gz
ipxe-ab4e1dba3fe44a94c5bc425d737571bdc7b21fda.tar.xz
ipxe-ab4e1dba3fe44a94c5bc425d737571bdc7b21fda.zip
Added nvo_save()
Diffstat (limited to 'src/include/gpxe/nvo.h')
-rw-r--r--src/include/gpxe/nvo.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/gpxe/nvo.h b/src/include/gpxe/nvo.h
index f766508c..90d4ff9b 100644
--- a/src/include/gpxe/nvo.h
+++ b/src/include/gpxe/nvo.h
@@ -33,11 +33,17 @@ struct nvo_block {
* The list is terminated by a fragment with a length of zero.
*/
struct nvo_fragment *fragments;
+ /** Total length of all fragments
+ *
+ * This field is filled in by nvo_register().
+ */
+ size_t total_len;
/** DHCP options block */
struct dhcp_option_block *options;
};
extern int nvo_register ( struct nvo_block *nvo );
+extern int nvo_save ( struct nvo_block *nvo );
extern void nvo_unregister ( struct nvo_block *nvo );
#endif /* _GPXE_NVO_H */