summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/qos-policy/traffic-shaper/node.tag/class/node.tag/match/node.tag/ip/protocol/node.def14
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/match/node.tag/ip/protocol/node.def b/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/match/node.tag/ip/protocol/node.def
index 8eb9dbb..2b1b894 100644
--- a/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/match/node.tag/ip/protocol/node.def
+++ b/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/match/node.tag/ip/protocol/node.def
@@ -1,3 +1,17 @@
type: txt
help: Match IP protocol name or number
syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --protocol \"$VAR(@)\""
+allowed: awk '
+ /^#/ { next }
+ { printf "%s ", $1 }' </etc/protocols
+comp_help: <0-255> IP protocol value or name
+Common names:
+ icmp Internet Control Message Protocol
+ igmp Internet Group Management
+ ggp Gateway-Gateway protocol
+ tcp Transmission Control Protocol
+ egp Exterior Gateway Protocol
+ udp User Datagram Protocol
+ gre General Routing Encapsulation
+ ospf Open Shortest Path First IGP
+ sctp Stream Control Transmission Protocol