Removed redundant getInetAddress() function and converted the "all"
and "ignore" type fields into constants.