aboutsummaryrefslogtreecommitdiff
path: root/sbin/ipfw/ipfw2.h
diff options
context:
space:
mode:
authorAndrey V. Elsukov <ae@FreeBSD.org>2018-07-09 11:03:28 +0000
committerAndrey V. Elsukov <ae@FreeBSD.org>2018-07-09 11:03:28 +0000
commit98a8fdf6dac8aa5c28a3ac6640a1020bbd7a28da (patch)
treec11f5f87210b66df9470574aa6fc69041276361e /sbin/ipfw/ipfw2.h
parentd50fbe3fe2e7918d3649eba32c470a0f32e240ce (diff)
downloadsrc-98a8fdf6dac8aa5c28a3ac6640a1020bbd7a28da.tar.gz
src-98a8fdf6dac8aa5c28a3ac6640a1020bbd7a28da.zip
Deduplicate the code.
Add generic function if_tunnel_check_nesting() that does check for allowed nesting level for tunneling interfaces and also does loop detection. Use it in gif(4), gre(4) and me(4) interfaces. Differential Revision: https://reviews.freebsd.org/D16162
Notes
Notes: svn path=/head/; revision=336131
Diffstat (limited to 'sbin/ipfw/ipfw2.h')
0 files changed, 0 insertions, 0 deletions