freebsd-skq/sbin/ifconfig
Andrey V. Elsukov f325335caf Overhaul if_gre(4).
Split it into two modules: if_gre(4) for GRE encapsulation and
if_me(4) for minimal encapsulation within IP.

gre(4) changes:
* convert to if_transmit;
* rework locking: protect access to softc with rmlock,
  protect from concurrent ioctls with sx lock;
* correct interface accounting for outgoing datagramms (count only payload size);
* implement generic support for using IPv6 as delivery header;
* make implementation conform to the RFC 2784 and partially to RFC 2890;
* add support for GRE checksums - calculate for outgoing datagramms and check
  for inconming datagramms;
* add support for sending sequence number in GRE header;
* remove support of cached routes. This fixes problem, when gre(4) doesn't
  work at system startup. But this also removes support for having tunnels with
  the same addresses for inner and outer header.
* deprecate support for various GREXXX ioctls, that doesn't used in FreeBSD.
  Use our standard ioctls for tunnels.

me(4):
* implementation conform to RFC 2004;
* use if_transmit;
* use the same locking model as gre(4);

PR:		164475
Differential Revision:	D1023
No objections from:	net@
Relnotes:	yes
Sponsored by:	Yandex LLC
2014-11-07 19:13:19 +00:00
..
af_inet6.c Add the ability to set `prefer_source' flag to an IPv6 address. 2014-09-09 10:52:50 +00:00
af_inet.c Since size of struct in_aliasreq has just been changed in r228571, 2011-12-16 13:30:17 +00:00
af_link.c Ethernet vlan(4) interfaces have valid Ethernet link layer addresses but 2010-08-06 15:09:21 +00:00
af_nd6.c Fix a typo (s/error/errno/). 2013-07-03 09:50:59 +00:00
carp.c Rename ifcarp.c to carp.c 2011-12-16 14:30:58 +00:00
ifbridge.c
ifclone.c
ifconfig.8 Add vxlan interface 2014-10-20 14:42:42 +00:00
ifconfig.c Revert r272390. 2014-10-02 20:17:16 +00:00
ifconfig.h Add DEF_CLONE_CMD_ARG2 2014-09-14 22:10:35 +00:00
iffib.c Add infrastructure to allow all frames/packets received on an interface 2011-07-03 12:22:02 +00:00
ifgif.c
ifgre.c Overhaul if_gre(4). 2014-11-07 19:13:19 +00:00
ifgroup.c Do not error out when adding an interface to a group to which it 2013-10-19 09:59:11 +00:00
ifieee80211.c Mark a mesh path to a mesh gate with a 'G'. 2013-02-07 21:23:03 +00:00
iflagg.c Use printb() for boolean flags in ro_opts and actor_state for LACP. 2014-10-05 02:37:01 +00:00
ifmac.c
ifmedia.c When setting media always and not just in case of switching to IFM_AUTO 2011-05-15 12:51:00 +00:00
ifpfsync.c Make it possible to switch pfsync(4) deferral mechanism on/off. 2012-04-03 18:10:48 +00:00
ifvlan.c Allow toggling of IFCAP_VLAN_HWCSUM for hardware that supports checksum 2011-12-17 15:44:34 +00:00
ifvxlan.c Add vxlan interface 2014-10-20 14:42:42 +00:00
Makefile Add vxlan interface 2014-10-20 14:42:42 +00:00
regdomain.c
regdomain.h
sfp.c Show SFP+/QSFP memory map dump on higher verbose levels. 2014-10-23 11:01:49 +00:00