1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/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
af_link.c
af_nd6.c Fix a typo (s/error/errno/). 2013-07-03 09:50:59 +00:00
carp.c
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
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
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
ifpfsync.c
ifvlan.c
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