func ProfileInputToNetworkProtocol(input string) NetworkProtocol {
	switch input {
	case "loop":
		return EthPLOOP
	case "pup":
		return EthPPUP
	case "pupat":
		return EthPPUPAT
	case "tsn":
		return EthPTSN
	case "ipv4":
		return EthPIP
	case "x25":
		return EthPX25
	case "arp":
		return EthPARP
	case "bpq":
		return EthPBPQ
	case "ieeepup":
		return EthPIEEEPUP
	case "ieeepupat":
		return EthPIEEEPUPAT
	case "batman":
		return EthPBATMAN
	case "dec":
		return EthPDEC
	case "dnadl":
		return EthPDNADL
	case "dnarc":
		return EthPDNARC
	case "dnart":
		return EthPDNART
	case "lat":
		return EthPLAT
	case "diag":
		return EthPDIAG
	case "cust":
		return EthPCUST
	case "sca":
		return EthPSCA
	case "teb":
		return EthPTEB
	case "rarp":
		return EthPRARP
	case "atalk":
		return EthPATALK
	case "aarp":
		return EthPAARP
	case "8021q":
		return EthP8021Q
	case "erspan":
		return EthPERSPAN
	case "ipx":
		return EthPIPX
	case "ipv6":
		return EthPIPV6
	case "pause":
		return EthPPAUSE
	case "slow":
		return EthPSLOW
	case "wccp":
		return EthPWCCP
	case "mplsuc":
		return EthPMPLSUC
	case "mplsmc":
		return EthPMPLSMC
	case "atmmpoa":
		return EthPATMMPOA
	case "pppdisc":
		return EthPPPPDISC
	case "pppses":
		return EthPPPPSES
	case "linkctl":
		return EthPLinkCTL
	case "atmfate":
		return EthPATMFATE
	case "pae":
		return EthPPAE
	case "aoe":
		return EthPAOE
	case "8021ad":
		return EthP8021AD
	case "802ex1":
		return EthP802EX1
	case "tipc":
		return EthPTIPC
	case "macsec":
		return EthPMACSEC
	case "8021ah":
		return EthP8021AH
	case "mvrp":
		return EthPMVRP
	case "1588":
		return EthP1588
	case "ncsi":
		return EthPNCSI
	case "prp":
		return EthPPRP
	case "fcoe":
		return EthPFCOE
	case "iboe":
		return EthPIBOE
	case "tdls":
		return EthPTDLS
	case "fip":
		return EthPFIP
	case "80221":
		return EthP80221
	case "hsr":
		return EthPHSR
	case "nsh":
		return EthPNSH
	case "loopback":
		return EthPLOOPBACK
	case "qinq1":
		return EthPQINQ1
	case "qinq2":
		return EthPQINQ2
	case "qinq3":
		return EthPQINQ3
	case "edsa":
		return EthPEDSA
	case "ife":
		return EthPIFE
	case "afiucv":
		return EthPAFIUCV
	case "8023min":
		return EthP8023MIN
	case "ipv6hopbyhop":
		return EthPIPV6HopByHop
	case "8023":
		return EthP8023
	case "ax25":
		return EthPAX25
	case "all":
		return EthPALL
	case "8022":
		return EthP8022
	case "snap":
		return EthPSNAP
	case "ddcmp":
		return EthPDDCMP
	case "wanppp":
		return EthPWANPPP
	case "pppmp":
		return EthPPPPMP
	case "localtalk":
		return EthPLOCALTALK
	case "can":
		return EthPCAN
	case "canfd":
		return EthPCANFD
	case "ppptalk":
		return EthPPPPTALK
	case "tr8022":
		return EthPTR8022
	case "mobitex":
		return EthPMOBITEX
	case "control":
		return EthPCONTROL
	case "irda":
		return EthPIRDA
	case "econet":
		return EthPECONET
	case "hdlc":
		return EthPHDLC
	case "arcnet":
		return EthPARCNET
	case "dsa":
		return EthPDSA
	case "trailer":
		return EthPTRAILER
	case "phonet":
		return EthPPHONET
	case "ieee802154":
		return EthPIEEE802154
	case "caif":
		return EthPCAIF
	case "xdsa":
		return EthPXDSA
	case "map":
		return EthPMAP
	default:
		return NetworkProtocol(0)
	}
}
// ProfileInputToNetworkProtocol - Transforms a profile input into a network protocol
Transforms a profile input into a network protocol
// ProfileInputToNetworkProtocol - Transforms a profile input into a network protocol
func ProfileInputToNetworkProtocol(input string) NetworkProtocol {
	switch input {
	case "loop":
		return EthPLOOP
	case "pup":
		return EthPPUP
	case "pupat":
		return EthPPUPAT
	case "tsn":
		return EthPTSN
	case "ipv4":
		return EthPIP
	case "x25":
		return EthPX25
	case "arp":
		return EthPARP
	case "bpq":
		return EthPBPQ
	case "ieeepup":
		return EthPIEEEPUP
	case "ieeepupat":
		return EthPIEEEPUPAT
	case "batman":
		return EthPBATMAN
	case "dec":
		return EthPDEC
	case "dnadl":
		return EthPDNADL
	case "dnarc":
		return EthPDNARC
	case "dnart":
		return EthPDNART
	case "lat":
		return EthPLAT
	case "diag":
		return EthPDIAG
	case "cust":
		return EthPCUST
	case "sca":
		return EthPSCA
	case "teb":
		return EthPTEB
	case "rarp":
		return EthPRARP
	case "atalk":
		return EthPATALK
	case "aarp":
		return EthPAARP
	case "8021q":
		return EthP8021Q
	case "erspan":
		return EthPERSPAN
	case "ipx":
		return EthPIPX
	case "ipv6":
		return EthPIPV6
	case "pause":
		return EthPPAUSE
	case "slow":
		return EthPSLOW
	case "wccp":
		return EthPWCCP
	case "mplsuc":
		return EthPMPLSUC
	case "mplsmc":
		return EthPMPLSMC
	case "atmmpoa":
		return EthPATMMPOA
	case "pppdisc":
		return EthPPPPDISC
	case "pppses":
		return EthPPPPSES
	case "linkctl":
		return EthPLinkCTL
	case "atmfate":
		return EthPATMFATE
	case "pae":
		return EthPPAE
	case "aoe":
		return EthPAOE
	case "8021ad":
		return EthP8021AD
	case "802ex1":
		return EthP802EX1
	case "tipc":
		return EthPTIPC
	case "macsec":
		return EthPMACSEC
	case "8021ah":
		return EthP8021AH
	case "mvrp":
		return EthPMVRP
	case "1588":
		return EthP1588
	case "ncsi":
		return EthPNCSI
	case "prp":
		return EthPPRP
	case "fcoe":
		return EthPFCOE
	case "iboe":
		return EthPIBOE
	case "tdls":
		return EthPTDLS
	case "fip":
		return EthPFIP
	case "80221":
		return EthP80221
	case "hsr":
		return EthPHSR
	case "nsh":
		return EthPNSH
	case "loopback":
		return EthPLOOPBACK
	case "qinq1":
		return EthPQINQ1
	case "qinq2":
		return EthPQINQ2
	case "qinq3":
		return EthPQINQ3
	case "edsa":
		return EthPEDSA
	case "ife":
		return EthPIFE
	case "afiucv":
		return EthPAFIUCV
	case "8023min":
		return EthP8023MIN
	case "ipv6hopbyhop":
		return EthPIPV6HopByHop
	case "8023":
		return EthP8023
	case "ax25":
		return EthPAX25
	case "all":
		return EthPALL
	case "8022":
		return EthP8022
	case "snap":
		return EthPSNAP
	case "ddcmp":
		return EthPDDCMP
	case "wanppp":
		return EthPWANPPP
	case "pppmp":
		return EthPPPPMP
	case "localtalk":
		return EthPLOCALTALK
	case "can":
		return EthPCAN
	case "canfd":
		return EthPCANFD
	case "ppptalk":
		return EthPPPPTALK
	case "tr8022":
		return EthPTR8022
	case "mobitex":
		return EthPMOBITEX
	case "control":
		return EthPCONTROL
	case "irda":
		return EthPIRDA
	case "econet":
		return EthPECONET
	case "hdlc":
		return EthPHDLC
	case "arcnet":
		return EthPARCNET
	case "dsa":
		return EthPDSA
	case "trailer":
		return EthPTRAILER
	case "phonet":
		return EthPPHONET
	case "ieee802154":
		return EthPIEEE802154
	case "caif":
		return EthPCAIF
	case "xdsa":
		return EthPXDSA
	case "map":
		return EthPMAP
	default:
		return NetworkProtocol(0)
	}
}
func ProfileInputToNetworkProtocol ( input string ) NetworkProtocol { switch input { case " " : return EthPLOOP case " " : return EthPPUP case " " : return EthPPUPAT case " " : return EthPTSN case " " : return EthPIP case " " : return EthPX25 case " " : return EthPARP case " " : return EthPBPQ case " " : return EthPIEEEPUP case " " : return EthPIEEEPUPAT case " " : return EthPBATMAN case " " : return EthPDEC case " " : return EthPDNADL case " " : return EthPDNARC case " " : return EthPDNART case " " : return EthPLAT case " " : return EthPDIAG case " " : return EthPCUST case " " : return EthPSCA case " " : return EthPTEB case " " : return EthPRARP case " " : return EthPATALK case " " : return EthPAARP case " " : return EthP8021Q case " " : return EthPERSPAN case " " : return EthPIPX case " " : return EthPIPV6 case " " : return EthPPAUSE case " " : return EthPSLOW case " " : return EthPWCCP case " " : return EthPMPLSUC case " " : return EthPMPLSMC case " " : return EthPATMMPOA case " " : return EthPPPPDISC case " " : return EthPPPPSES case " " : return EthPLinkCTL case " " : return EthPATMFATE case " " : return EthPPAE case " " : return EthPAOE case " " : return EthP8021AD case " " : return EthP802EX1 case " " : return EthPTIPC case " " : return EthPMACSEC case " " : return EthP8021AH case " " : return EthPMVRP case " " : return EthP1588 case " " : return EthPNCSI case " " : return EthPPRP case " " : return EthPFCOE case " " : return EthPIBOE case " " : return EthPTDLS case " " : return EthPFIP case " " : return EthP80221 case " " : return EthPHSR case " " : return EthPNSH case " " : return EthPLOOPBACK case " " : return EthPQINQ1 case " " : return EthPQINQ2 case " " : return EthPQINQ3 case " " : return EthPEDSA case " " : return EthPIFE case " " : return EthPAFIUCV case " " : return EthP8023MIN case " " : return EthPIPV6HopByHop case " " : return EthP8023 case " " : return EthPAX25 case " " : return EthPALL case " " : return EthP8022 case " " : return EthPSNAP case " " : return EthPDDCMP case " " : return EthPWANPPP case " " : return EthPPPPMP case " " : return EthPLOCALTALK case " " : return EthPCAN case " " : return EthPCANFD case " " : return EthPPPPTALK case " " : return EthPTR8022 case " " : return EthPMOBITEX case " " : return EthPCONTROL case " " : return EthPIRDA case " " : return EthPECONET case " " : return EthPHDLC case " " : return EthPARCNET case " " : return EthPDSA case " " : return EthPTRAILER case " " : return EthPPHONET case " " : return EthPIEEE802154 case " " : return EthPCAIF case " " : return EthPXDSA case " " : return EthPMAP default : return NetworkProtocol ( 0 ) } }
Transforms a profile input into a network protocol
Transforms a profile input into a network protocol