summaryrefslogtreecommitdiffstats
path: root/g2/g2.h
diff options
context:
space:
mode:
authorAlexander Popovsky (apopovsk) <apopovsk@cisco.com>2016-11-15 15:36:23 -0800
committerJohn Lo <loj@cisco.com>2016-11-16 07:24:26 +0000
commit740bcdbd2b13bef4f5c9b487ed0dcbbee6a760c9 (patch)
tree88ccaafef0c9e57d046830cb591c9450f9a1185e /g2/g2.h
parent25e26dc5136137c771715145dd5b2884060ff9eb (diff)
Add an ability to punt all unknown UDP traffic to the host
By default, VPP replies with ICMP error: port unreachable when receives an ‘unknown’ UDP (destination port with no registered listener) packet. An existing punt() API is extended to accept ALL (~0) as a L4 port number and if used redirects all ‘unknown’ UDP packets to the host. New ‘all’ option is added to the “set punt udp” CLI as well. Change-Id: I444fc5e32ffa3f0f085bb17708bf32b883ba09df Signed-off-by: Alexander Popovsky (apopovsk) <apopovsk@cisco.com>
Diffstat (limited to 'g2/g2.h')
0 files changed, 0 insertions, 0 deletions