Errors are returned for both set-address-format and expand-port-field-bits primitives in the following cases:
* if number of bits specified is less than 0. * if bit positions clash (contiguous number of requested free bits not * found). * if total number of bits exceed MAXADDRSIZE_. * if number of hierarchy levels donot match with number of bits * specified (for each level).