func ProfileInputToTransportProtocol(input string) TransportProtocol {
	switch input {
	case "ip":
		return IPProtoIP
	case "icmp":
		return IPProtoICMP
	case "igmp":
		return IPProtoIGMP
	case "ipip":
		return IPProtoIPIP
	case "tcp":
		return IPProtoTCP
	case "egp":
		return IPProtoEGP
	case "igp":
		return IPProtoIGP
	case "pup":
		return IPProtoPUP
	case "udp":
		return IPProtoUDP
	case "idp":
		return IPProtoIDP
	case "tp":
		return IPProtoTP
	case "dccp":
		return IPProtoDCCP
	case "ipv6":
		return IPProtoIPV6
	case "rsvp":
		return IPProtoRSVP
	case "gre":
		return IPProtoGRE
	case "esp":
		return IPProtoESP
	case "ah":
		return IPProtoAH
	case "icmpv6":
		return IPProtoICMPV6
	case "mtp":
		return IPProtoMTP
	case "beetph":
		return IPProtoBEETPH
	case "encap":
		return IPProtoENCAP
	case "pim":
		return IPProtoPIM
	case "comp":
		return IPProtoCOMP
	case "sctp":
		return IPProtoSCTP
	case "udplite":
		return IPProtoUDPLITE
	case "mpls":
		return IPProtoMPLS
	case "raw":
		return IPProtoRAW
	default:
		return IPProtoIP
	}
}
// ProfileInputToTransportProtocol - Transforms a profile input into a transport protocol
Transforms a profile input into a transport protocol
// ProfileInputToTransportProtocol - Transforms a profile input into a transport protocol
func ProfileInputToTransportProtocol(input string) TransportProtocol {
	switch input {
	case "ip":
		return IPProtoIP
	case "icmp":
		return IPProtoICMP
	case "igmp":
		return IPProtoIGMP
	case "ipip":
		return IPProtoIPIP
	case "tcp":
		return IPProtoTCP
	case "egp":
		return IPProtoEGP
	case "igp":
		return IPProtoIGP
	case "pup":
		return IPProtoPUP
	case "udp":
		return IPProtoUDP
	case "idp":
		return IPProtoIDP
	case "tp":
		return IPProtoTP
	case "dccp":
		return IPProtoDCCP
	case "ipv6":
		return IPProtoIPV6
	case "rsvp":
		return IPProtoRSVP
	case "gre":
		return IPProtoGRE
	case "esp":
		return IPProtoESP
	case "ah":
		return IPProtoAH
	case "icmpv6":
		return IPProtoICMPV6
	case "mtp":
		return IPProtoMTP
	case "beetph":
		return IPProtoBEETPH
	case "encap":
		return IPProtoENCAP
	case "pim":
		return IPProtoPIM
	case "comp":
		return IPProtoCOMP
	case "sctp":
		return IPProtoSCTP
	case "udplite":
		return IPProtoUDPLITE
	case "mpls":
		return IPProtoMPLS
	case "raw":
		return IPProtoRAW
	default:
		return IPProtoIP
	}
}
func ProfileInputToTransportProtocol ( input string ) TransportProtocol { switch input { case " " : return IPProtoIP case " " : return IPProtoICMP case " " : return IPProtoIGMP case " " : return IPProtoIPIP case " " : return IPProtoTCP case " " : return IPProtoEGP case " " : return IPProtoIGP case " " : return IPProtoPUP case " " : return IPProtoUDP case " " : return IPProtoIDP case " " : return IPProtoTP case " " : return IPProtoDCCP case " " : return IPProtoIPV6 case " " : return IPProtoRSVP case " " : return IPProtoGRE case " " : return IPProtoESP case " " : return IPProtoAH case " " : return IPProtoICMPV6 case " " : return IPProtoMTP case " " : return IPProtoBEETPH case " " : return IPProtoENCAP case " " : return IPProtoPIM case " " : return IPProtoCOMP case " " : return IPProtoSCTP case " " : return IPProtoUDPLITE case " " : return IPProtoMPLS case " " : return IPProtoRAW default : return IPProtoIP } }
Transforms a profile input into a transport protocol
Transforms a profile input into a transport protocol