def iana_interface_type(
	num # type: int
	):
	"""Parse IANA-defined interface types"""
	if num == 1:
		return "Other"
	elif num == 2:
		return "BBN 1822"
	elif num == 3:
		return "HDH 1822"
	elif num == 4:
		return "DDN X.25"
	elif num == 5:
		return "RFC-877 X.25"
	
	# For all Ethernet-like CSMA-CD interfaces per IANA
	elif num == 6:
		return "Ethernet"
	
	# Deprecated, should use 6 per IANA
	elif num == 7:
		return "Ethernet"
	elif num == 8:
		return "Token Bus"
	elif num == 9:
		return "Token Ring"
	elif num == 10:
		return "ISO88026Man"
	elif num == 11:
		return "Star LAN"
	elif num == 12:
		return "Proteon 10Mbit"
	elif num == 13:
		return "Proteon 80Mbit"
	elif num == 14:
		return "Hyperchannel"
	elif num == 15:
		return "FDDI"
	elif num == 16:
		return "LAPB"
	elif num == 17:
		return "SDLC"
	elif num == 18:
		return "DS1"
	elif num == 19:
		return "E1"
	elif num == 20:
		return "Basic ISDN"
	elif num == 21:
		return "Primary ISDN"
	elif num == 22:
		return "Prop Point To Point Serial"
	elif num == 23:
		return "PPP"
	elif num == 24:
		return "Software Loopback"
	elif num == 25:
		return "EON"
	elif num == 26:
		return "Ethernet 3Mbit"
	elif num == 27:
		return "NSIP"
	elif num == 28:
		return "SLIP"
	elif num == 29:
		return "Ultra"
	elif num == 30:
		return "DS3"
	elif num == 31:
		return "SIP"
	elif num == 32:
		return "Frame Relay"
	elif num == 33:
		return "RS232"
	elif num == 34:
		return "PARA"
	elif num == 35:
		return "ARCNet"
	elif num == 36:
		return "ARCNet Plus"
	elif num == 37:
		return "ATM"
	elif num == 38:
		return "MIOX25"
	elif num == 39:
		return "SONET"
	else:
		return "Other"