src/org/jnetpcap/protocol/network/Arp.java
public static ProtocolType valueOf(int value) {
			if (value == 0x800) {
				return IP;
			}

			return null;
		}
/**
		 * Convert a numerical protocol type number to constant.
		 * 
		 * @param value
		 *          value of the protocol type field
		 * @return corresponding constant or null if none matched
		 */
Convert a numerical protocol type number to constant.

@param value
value of the protocol type field
@return corresponding constant or null if none matched
Convert a numerical protocol type number to constant . @param value value of the protocol type field @return corresponding constant or null if none matched
public static ProtocolType valueOf(int value) {
			if (value == 0x800) {
				return IP;
			}
			return null;
		}
public static ProtocolType valueOf ( int value ) { if ( value == 0x800 ) { return IP ; } return null ; }
Convert a numerical protocol type number to constant.
Convert a numerical protocol type number to constant .