class Pcaps {

  public static String dataLinkValToName(int dataLinkVal) throws PcapNativeException {
    String name = NativeMappings.pcap_datalink_val_to_name(dataLinkVal);
    if (name == null) {
      throw new PcapNativeException(
          "Failed to convert the data link value to the name: " + dataLinkVal);
    }
    return name;
  }

  private  Pcaps();

}