[Xorp-hackers] [greearb/xorp.ct] 0b7c87: xorp: Added support for uint64 type
GitHub
noreply at github.com
Wed Mar 14 10:33:12 PDT 2012
Branch: refs/heads/master
Home: https://github.com/greearb/xorp.ct
Commit: 0b7c874cd929dfa297653d15f6e49c31717ea26b
https://github.com/greearb/xorp.ct/commit/0b7c874cd929dfa297653d15f6e49c31717ea26b
Author: Igor Maravic <igorm at etf.rs>
Date: 2012-03-14 (Wed, 14 Mar 2012)
Changed paths:
M xorp/libxorp/range.hh
M xorp/rtrmgr/conf_tree.cc
M xorp/rtrmgr/template.ll
M xorp/rtrmgr/template.yy
M xorp/rtrmgr/template_tree.cc
M xorp/rtrmgr/template_tree_node.cc
M xorp/rtrmgr/template_tree_node.hh
Log Message:
-----------
xorp: Added support for uint64 type
In template.yy and template.ll files added support for uint64 and uin64range types. Their nodes are called
NODE_ULONG and NODE_ULONGRANGE respectively.
In range.hh added U64Range class. Does everything as U32Range, but with uint64_t instead of uint32_t variables.
In template_tree_node.cc and template_tree_node.hh added ULongTemplate and ULongRangeTemplate to handle new types.
Unfortunately Eclipse striped whitespaces from changed files, so they are meshed up with the changed code.
Signed-off-by: Igor Maravic <igorm at etf.rs>
Commit: 135900a417be7a89f0607f71679f9634b4b060f3
https://github.com/greearb/xorp.ct/commit/135900a417be7a89f0607f71679f9634b4b060f3
Author: Igor Maravic <igorm at etf.rs>
Date: 2012-03-14 (Wed, 14 Mar 2012)
Changed paths:
M xorp/rtrmgr/boot.ll
M xorp/rtrmgr/boot.yy
Log Message:
-----------
xorp: rtrmgr: Add option to read negative int values
In boot.ll and boot.yy added option to read negative int values. Positive
int values are read as uint values.
Signed-off-by: Igor Maravic <igorm at etf.rs>
Commit: f8c934d8c548aa78f8fb6d450c3074531c8bb479
https://github.com/greearb/xorp.ct/commit/f8c934d8c548aa78f8fb6d450c3074531c8bb479
Author: Igor Maravic <igorm at etf.rs>
Date: 2012-03-14 (Wed, 14 Mar 2012)
Changed paths:
M xorp/rtrmgr/conf_tree.cc
Log Message:
-----------
xorp: rtrmgr: Enable reading of positive integers
Positive integers are read as uint. Change type from NODE_UINT to NODE_INT so they could be read.
Signed-off-by: Igor Maravic <igorm at etf.rs>
Commit: 690f3fac70f593a164a34ce3be8a00f490ebabae
https://github.com/greearb/xorp.ct/commit/690f3fac70f593a164a34ce3be8a00f490ebabae
Author: Igor Maravic <igorm at etf.rs>
Date: 2012-03-14 (Wed, 14 Mar 2012)
Changed paths:
M xorp/rtrmgr/template_tree.cc
Log Message:
-----------
xorp: rtrmgr: Enable i32 and u64 multi value nodes to boot up
Positive int and u64 values are read as uint. If our node is of type
NODE_ULONG or NODE_INT and read type is of type NODE_UINT, than we have a match.
Signed-off-by: Igor Maravic <igorm at etf.rs>
Compare: https://github.com/greearb/xorp.ct/compare/f7d84ee...690f3fa
More information about the Xorp-hackers
mailing list