/**
  * Returns the name of a protocol that has the given identifier.
  *
  * <p>Note that this is not a constant time operation in the number of protocols, although
  * typically there are very few protocols defined.
  *
  * @param pid numeric protocol identifier.
  * @return name of the protocol that has the given id. null if no protocols have the given id.
  */
 public static String lookupPid(int pid) {
   return config.lookupPid(pid);
 }
 /**
  * Returns the numeric protocol identifier of the given protocol name.
  *
  * @param protname the protocol name.
  * @return the numeric protocol identifier associated to the protocol name
  */
 public static int lookupPid(String protname) {
   return config.lookupPid(protname);
 }