rework gif to be more consistent.
authordlg <dlg@openbsd.org>
Sat, 10 Feb 2018 08:12:01 +0000 (08:12 +0000)
committerdlg <dlg@openbsd.org>
Sat, 10 Feb 2018 08:12:01 +0000 (08:12 +0000)
commit12ed6a17f20ad5bc7c4f14610feda2f03f54f318
tree40b92859fed563b48726b1998e57ea2ad8cca0b8
parentb115da55733066e3adef60230dc7f0e5b986f78a
rework gif to be more consistent.

while here, give us support for mpls in gif on ipv6.

this moves all the gif handling into if_gif, eg, the mpls handling
is no longer in ip_etherip.c.

ok claudio@
sys/net/if_gif.c
sys/net/if_gif.h
sys/netinet/in_proto.c
sys/netinet/ip_ether.c
sys/netinet6/in6_proto.c