1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
freebsd/sbin
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
..
adjkerntz use .Mt to mark up email addresses consistently (part1) 2014-06-20 09:40:43 +00:00
atm Fix atmconfig compilation when MK_ATM == yes and MK_BSNMP == no 2014-08-15 21:22:49 +00:00
badsect
bsdlabel Remove ia64. 2014-07-07 00:27:09 +00:00
camcontrol Update CAM CCB accounting for the new status quo. 2014-09-14 11:59:49 +00:00
casperd use .Mt to mark up email addresses consistently (part1) 2014-06-20 09:40:43 +00:00
ccdconfig
clri
comcontrol
conscontrol Add references to vt(4) to further man-pages. 2014-09-01 16:25:08 +00:00
ddb
devd Misc fixes suggested by Coverity. 2014-08-20 17:04:49 +00:00
devfs
dhclient Since r270929 raw sockets expect network byte order. 2014-09-11 05:48:39 +00:00
dmesg
dump Fix a bug which could break extended attributes in a dump output. 2014-09-10 22:37:20 +00:00
dumpfs
dumpon Revert r156046. We support setting dumpdev via loader tunable again. 2014-10-08 12:19:48 +00:00
etherswitchcfg Check the number of returned entries before doing any access to ifm_ulist. 2014-07-05 20:16:02 +00:00
fdisk Remove ia64. 2014-07-07 00:27:09 +00:00
fdisk_pc98 Merged from r183296. 2014-09-28 08:23:26 +00:00
ffsinfo use .Mt to mark up email addresses consistently (part1) 2014-06-20 09:40:43 +00:00
fsck Revert r267233 for now. PIE support needs to be reworked. 2014-08-19 15:04:32 +00:00
fsck_ffs Avoid segment fault when attempting to clean up cylinder group 2014-03-12 01:28:21 +00:00
fsck_msdosfs Make UEFI booting of 4Kn disks work: 2014-10-30 15:52:01 +00:00
fsdb Replace all uses of libncurses and libtermcap with their wide character 2014-07-17 18:24:34 +00:00
fsirand fsirand does not actually use libutil 2014-11-05 22:46:11 +00:00
gbde Correct the destroy example. The -n argument is not needed (and is not 2014-08-27 17:44:59 +00:00
geom Turn off kern.geom.part.mbr.enforce_chs by default. 2014-08-12 10:31:31 +00:00
ggate use .Mt to mark up email addresses consistently (part1) 2014-06-20 09:40:43 +00:00
growfs use .Mt to mark up email addresses consistently (part1) 2014-06-20 09:40:43 +00:00
gvinum Replace all uses of libncurses and libtermcap with their wide character 2014-07-17 18:24:34 +00:00
hastctl use .Mt to mark up email addresses consistently (part1) 2014-06-20 09:40:43 +00:00
hastd Add lock annotations to the threading API used by hastd. 2014-09-01 18:37:17 +00:00
ifconfig Overhaul if_gre(4). 2014-11-07 19:13:19 +00:00
init Remove LOG_ODELAY because it does nothing. 2014-08-17 19:06:26 +00:00
ipf Revert r267233 for now. PIE support needs to be reworked. 2014-08-19 15:04:32 +00:00
ipfw Fix documentation issue. 2014-10-24 17:06:56 +00:00
iscontrol Mark iscontrol(8) and iscsi_initiator(4) obsolete. 2014-10-11 05:18:22 +00:00
kldconfig use .Mt to mark up email addresses consistently (part1) 2014-06-20 09:40:43 +00:00
kldload use .Mt to mark up email addresses consistently (part1) 2014-06-20 09:40:43 +00:00
kldstat use .Mt to mark up email addresses consistently (part1) 2014-06-20 09:40:43 +00:00
kldunload use .Mt to mark up email addresses consistently (part1) 2014-06-20 09:40:43 +00:00
ldconfig
md5 use .Mt to mark up email addresses consistently (part1) 2014-06-20 09:40:43 +00:00
mdconfig use .Mt to mark up email addresses consistently (part1) 2014-06-20 09:40:43 +00:00
mdmfs
mknod
mksnap_ffs Change file permissions for some setuid executables so they are "o+r". 2014-08-21 19:04:15 +00:00
mount Add description for the "automounted" mount flag. 2014-08-20 13:52:47 +00:00
mount_cd9660 use .Mt to mark up email addresses consistently (part1) 2014-06-20 09:40:43 +00:00
mount_fusefs mdoc: remove superfluous paragraph macros. 2014-06-23 18:40:21 +00:00
mount_msdosfs use .Mt to mark up email addresses consistently (part1) 2014-06-20 09:40:43 +00:00
mount_nfs Build mount_nfs(8) with WARNS=6. 2014-10-31 09:51:54 +00:00
mount_nullfs
mount_udf Unbreak mount_udf by passing the correct iovec length into 2014-02-04 21:15:15 +00:00
mount_unionfs use .Mt to mark up email addresses consistently (part1) 2014-06-20 09:40:43 +00:00
nandfs
natd mdoc: remove superfluous paragraph macros. 2014-06-23 18:40:21 +00:00
newfs Refer newfs and growfs users to fsck_ffs instead of 2014-02-09 14:28:47 +00:00
newfs_msdos Use "NO NAME" as the default unnamed label. 2014-08-13 21:18:31 +00:00
newfs_nandfs use .Mt to mark up email addresses consistently (part1) 2014-06-20 09:40:43 +00:00
nfsiod
nos-tun use .Mt to mark up email addresses consistently (part1) 2014-06-20 09:40:43 +00:00
nvmecontrol use .Mt to mark up email addresses consistently (part1) 2014-06-20 09:40:43 +00:00
pfctl mdoc: remove superfluous paragraph macros. 2014-06-23 18:40:21 +00:00
pflogd
ping WARNS=3 and style fixes. No functionality change. 2014-10-20 00:27:40 +00:00
ping6 WARNS=3 and style fixes. No functionality change. 2014-10-20 00:27:40 +00:00
quotacheck
rcorder Revert r267233 for now. PIE support needs to be reworked. 2014-08-19 15:04:32 +00:00
reboot use .Mt to mark up email addresses consistently (part1) 2014-06-20 09:40:43 +00:00
recoverdisk use .Mt to mark up email addresses consistently (part1) 2014-06-20 09:40:43 +00:00
resolvconf
restore When restoring a UFS dump onto a ZFS filesystem, an assertion in 2014-07-30 14:52:04 +00:00
route Put "break" after err() to please coverity. 2014-11-04 10:21:34 +00:00
routed Fix a typo. 2014-09-21 05:03:04 +00:00
rtsol NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
savecore If fgets(3) fails in getbounds(), show strerror(3) if not an EOF. Also fix 2014-09-17 19:09:58 +00:00
sconfig use .Mt to mark up email addresses consistently (part1) 2014-06-20 09:40:43 +00:00
setkey Fix spelling of Camellia algorithm. While here, replace blank lines 2014-07-25 17:09:48 +00:00
shutdown Change file permissions for some setuid executables so they are "o+r". 2014-08-21 19:04:15 +00:00
spppcontrol
sunlabel
swapon Do not add late flag when file= is specified because it has a bad 2014-10-10 03:20:12 +00:00
sysctl Refactor the code a little bit to reduce duplicated code. 2014-09-26 05:05:34 +00:00
tests Migrate tools/regression/sbin/ to the new tests layout. 2014-03-16 02:07:08 +00:00
tunefs
umount Use mount protocol version 3 by default for showmount and umount. 2014-08-16 14:56:11 +00:00
Makefile Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.inc Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
Makefile.mips
Makefile.pc98
Makefile.sparc64