diff options
author | Michael Brown | 2006-12-04 23:04:10 +0100 |
---|---|---|
committer | Michael Brown | 2006-12-04 23:04:10 +0100 |
commit | ab4e1dba3fe44a94c5bc425d737571bdc7b21fda (patch) | |
tree | 3bd06e547da1630acd904cd6fd3cd1c1aa9ed7f0 /src/include/gpxe/nvo.h | |
parent | Add the concept of a fragment list for non-volatile stored options. (diff) | |
download | ipxe-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.h | 6 |
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 */ |