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 expand-port-field-bits is attempted with portbits less than or * equal to the existing portsize. * if number of hierarchy levels donot match with number of bits * specified (for each level).