summaryrefslogtreecommitdiffstats
path: root/include/protocols
Commit message (Collapse)AuthorAgeFilesLines
* Add proper prerequisites for even two more headers.ed2013-05-211-1/+3
| | | | Spotted by: http://hacks.owlfolio.org/header-survey/
* Add static/const keywords to the arrays.ed2013-04-091-1/+3
| | | | | | | | | This theoretically allows a compiler to optimize (parts of) the array away if unused. While there, make the array size implicit and use a _Static_assert() to ensure that the definition matches up with the number of elements in the list.
* Don't use ino_t in dumprestore protocol definition.gleb2012-05-181-1/+10
| | | | | | | | | Since ino_t size is about to change to 64-bits, replace ino_t used in dump protocol definition with 32-bit dump_ino_t to preserve backward compatibility. At some point, it may be necessary to use spare fields in struct in order to fully support 64-bit inode numbers. Sponsored by: Google Summer of Code 2011
* Remove clause 3 from Berkeley copyrights. Add a few $FreeBSD$'s.imp2010-02-165-25/+9
|
* Expand dump to allow MAX_INT dump levels.mckusick2008-05-241-9/+0
| | | | | PR: bin/100732 Submitted by: Matthew Vincenz <msvincen@midway.uchicago.edu>
* Update the dump program to save extended attributes. Updatemckusick2007-02-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | the restore program to restore all dumped extended attributes. If the restore is running as root, it will always be able to restore all extended attributes. If it is not running as root, it makes a best effort to set them. Using the -v command line flag or the `verbose' command in interactive mode will display all the extended attributes being set on files (and at the end on directories) that are being restored. It will note any extended attributes that could not be set. The extended attributes are placed on the dump image immediately following each file's data. Older versions of restore can work with the newer dump images. Old versions of restore will correctly restore the file data and then (silently) skip over the extended attribute data and proceed to the next file. This resolves PR 93085 which will be closed once the code has been MFC'ed. Note that this code will not compile until these header files have been updated: <protocols/dumprestore.h> and <sys/extattr.h>. PR: bin/93085 Comments from: Poul-Henning Kamp and Robert Watson MFC after: 3 weeks
* Start the dreaded NOFOO -> NO_FOO conversion.ru2004-12-211-1/+1
| | | | OK'ed by: core
* For variables that are only checked with defined(), don't provideru2004-10-241-1/+1
| | | | any fake value.
* Sync HEAD sources to vendor branch import of routed v2.27 from rhyolite.com.bms2004-02-251-1/+4
| | | | | | | | Update <protocols/routed.h> for the MD5 changes requested in bin/35843. Preserve local changes. Education by: obrien, markm, pointy-stick PR: bin/35843 (and doubtless others)
* Change utimes to set the file creation time (for filesystems thatmckusick2002-07-171-2/+2
| | | | | | | | support creation times such as UFS2) to the value of the modification time if the value of the modification time is older than the current creation time. See utimes(2) for further details. Sponsored by: DARPA & NAI Labs.
* This commit adds basic support for the UFS2 filesystem. The UFS2mckusick2002-06-211-8/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | filesystem expands the inode to 256 bytes to make space for 64-bit block pointers. It also adds a file-creation time field, an ability to use jumbo blocks per inode to allow extent like pointer density, and space for extended attributes (up to twice the filesystem block size worth of attributes, e.g., on a 16K filesystem, there is space for 32K of attributes). UFS2 fully supports and runs existing UFS1 filesystems. New filesystems built using newfs can be built in either UFS1 or UFS2 format using the -O option. In this commit UFS1 is the default format, so if you want to build UFS2 format filesystems, you must specify -O 2. This default will be changed to UFS2 when UFS2 proves itself to be stable. In this commit the boot code for reading UFS2 filesystems is not compiled (see /sys/boot/common/ufsread.c) as there is insufficient space in the boot block. Once the size of the boot block is increased, this code can be defined. Things to note: the definition of SBSIZE has changed to SBLOCKSIZE. The header file <ufs/ufs/dinode.h> must be included before <ufs/ffs/fs.h> so as to get the definitions of ufs2_daddr_t and ufs_lbn_t. Still TODO: Verify that the first level bootstraps work for all the architectures. Convert the utility ffsinfo to understand UFS2 and test growfs. Add support for the extended attribute storage. Update soft updates to ensure integrity of extended attribute storage. Switch the current extended attribute interfaces to use the extended attribute storage. Add the extent like functionality (framework is there, but is currently never used). Sponsored by: DARPA & NAI Labs. Reviewed by: Poul-Henning Kamp <phk@freebsd.org>
* Use explicitly sized fields for the tape format definition.phk2002-05-141-1/+1
| | | | Sponsored by: DARPA & NAI Labs.
* Added new bsd.incs.mk which handles installing of header filesru2002-05-121-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | via INCS. Implemented INCSLINKS (equivalent to SYMLINKS) to handle symlinking include files. Allow for multiple groups of include files to be installed, with the powerful INCSGROUPS knob. Documentation to follow. Added standard `includes' and `incsinstall' targets, use them in Makefile.inc1. Headers from the following makefiles were not installed before (during `includes' in Makefile.inc1): kerberos5/lib/libtelnet/Makefile lib/libbz2/Makefile lib/libdevinfo/Makefile lib/libform/Makefile lib/libisc/Makefile lib/libmenu/Makefile lib/libmilter/Makefile lib/libpanel/Makefile Replaced all `beforeinstall' targets for installing includes with the INCS stuff. Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS, and for compatibility with NetBSD. Similarly for INCOWN, INCGRP, and INCMODE. Consistently use INCLUDEDIR instead of /usr/include. gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes were only lightly tested due to the missing contrib/libstdc++-v3. I fully tested the pre-WIP_GCC31 version of this patch with the contrib/libstdc++.295 stuff. These changes have been tested on i386 with the -DNO_WERROR "make world" and "make release".
* WARNS-n and lint(1) silencer. Declare (const) strings properly asmarkm2002-02-031-1/+1
| | | | 'const char *'.
* Use fixed-size fields in the structure for the timed protocol. Thisjhb2001-11-201-4/+9
| | | | | | | | | includes changing a struct timeval to an explicit structure of two int32_t's. This requires using temporary timevals in several places when calling gettimeofday(), settimeofday(), etc. With this timed now works properly on 64-bit platforms such as Alpha. Obtained from: NetBSD
* Make the protocol/dumprestore.h header match restore's idea of the dumpdillon2001-10-281-2/+4
| | | | | | | | header for the case where sizeof(time_t) != sizeof(int). dumprestore.h was embedding time_t when it should have been embedding int32_t. Use time_to_time32() and time32_to_time() to convert between the protocoll/file-format time and time_t.
* Zap $Revision$peter1999-09-051-1/+0
|
* $Id$ -> $FreeBSD$peter1999-08-271-2/+2
|
* Restored rev.1.11 which was clobbered by rev.1.12 (translated to `C').bde1999-05-111-2/+2
|
* 16 characters for the device name in /etc/dumpdates is not longnectar1999-05-081-2/+2
| | | | | | | enough, particularly when using vinum. Allow 32 characters (arbitrary, I know) instead. PR: bin/11433
* Part of routed upgrade.markm1999-05-021-4/+4
| | | | Submitted by: Vernon Schryver <vjs@calcite.rhyolite.com>
* 64bit clean nowdima1998-11-081-1/+1
|
* 64bit fixes.dima1998-10-271-9/+9
| | | | | | | (Note: ``dump'' doesn't work on alpha yet. Apparently there's a problem somewhere is the physio() area) Submitted by: myself && Matt Dillon.
* make talk/talkd work on alpha.dima1998-10-201-3/+3
|
* Translated to `C' - commented out #ident.bde1998-01-161-1/+1
|
* Back out all of yesterdays include file changes.eivind1997-05-074-13/+1
|
* Make a lot of include-files self-contained. I excluded the patches changingeivind1997-05-074-1/+13
| | | | | | | | int's to gid_t and uid_t - should I commit these, too? Closes PR misc/2625. Submitted by: Julian Assange <proff@iq.org>
* Matching routed.h to go along with latest routed.wollman1996-11-191-2/+14
|
* New version of routed.h to match new version of routed.wollman1996-08-271-17/+20
|
* New routed.h that goes with the new routed.wollman1996-07-221-13/+1
|
* Protocol definitions for RIPv2.wollman1996-05-301-21/+88
| | | | Obtained from: Vernon Schryver <vjs@mica.denver.sgi.com>
* Remove trailing whitespace.rgrimes1995-05-302-5/+5
|
* Changed idempotent strings to reflect directory area.paul1994-08-215-10/+10
| | | | | Reviewed by: Submitted by:
* BSD 4.4 Lite Include Sourcesrgrimes1994-05-245-0/+497
OpenPOWER on IntegriCloud