summaryrefslogtreecommitdiff
path: root/include/protocols
AgeCommit message (Collapse)Author
2024-07-15Remove residual blank line at start of MakefileWarner Losh
This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
2024-02-27dumprestore.h: Fix typos in source code commentsGordon Bergling
- s/dumpped/dumped/ MFC after: 3 days
2023-11-26include: Remove ancient SCCS tags.Warner Losh
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script. Sponsored by: Netflix
2023-08-16Remove $FreeBSD$: one-line sh patternWarner Losh
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
2023-08-16Remove $FreeBSD$: two-line .h patternWarner Losh
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
2023-02-22include: Fix typosElyes Haouas
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
2020-04-04Clean up global variable declarations in the dump and restoreKirk McKusick
utilities so that they will compile with -fno-common. Started by: Kyle Evans (kevans) Reviewed by: Kyle Evans (kevans) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D24210 Notes: svn path=/head/; revision=359627
2019-01-18Use a private definition of osockaddr rather then relying on typeBrooks Davis
namespace polution in sys/socket.h. Also remove support for operation on 4.3BSD. PR: 224529 Differential Revision: https://reviews.freebsd.org/D14505 Notes: svn path=/head/; revision=343161
2017-11-20include: further adoption of SPDX licensing ID tags.Pedro F. Giffuni
Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Notes: svn path=/head/; revision=326024
2015-06-13Add META_MODE support.Simon J. Gerraty
Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
2015-06-11Remove NO_OBJSimon J. Gerraty
For meta mode we will want objdirs. Differential Revision: D2748 Reviewed by: brooks imp Notes: svn path=/head/; revision=284255
2015-06-08dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=284172
2013-09-05Merge from headSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=255263
2013-05-21Add proper prerequisites for even two more headers.Ed Schouten
Spotted by: http://hacks.owlfolio.org/header-survey/ Notes: svn path=/head/; revision=250889
2013-04-12sync from headSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=249429
2013-04-09Add static/const keywords to the arrays.Ed Schouten
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. Notes: svn path=/head/; revision=249311
2013-02-16Updated dependenciesSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=246868
2012-08-22Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar
Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
2012-05-18Don't use ino_t in dumprestore protocol definition.Gleb Kurtsou
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 Notes: svn path=/head/; revision=235601
2010-02-16Remove clause 3 from Berkeley copyrights. Add a few $FreeBSD$'s.Warner Losh
Notes: svn path=/head/; revision=203965
2008-05-24Expand dump to allow MAX_INT dump levels.Kirk McKusick
PR: bin/100732 Submitted by: Matthew Vincenz <msvincen@midway.uchicago.edu> Notes: svn path=/head/; revision=179275
2007-02-26Update the dump program to save extended attributes. UpdateKirk McKusick
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 Notes: svn path=/head/; revision=167011
2004-12-21Start the dreaded NOFOO -> NO_FOO conversion.Ruslan Ermilov
OK'ed by: core Notes: svn path=/head/; revision=139103
2004-10-24For variables that are only checked with defined(), don't provideRuslan Ermilov
any fake value. Notes: svn path=/head/; revision=136910
2004-02-25Sync HEAD sources to vendor branch import of routed v2.27 from rhyolite.com.Bruce M Simpson
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) Notes: svn path=/head/; revision=126250
2002-07-17Change utimes to set the file creation time (for filesystems thatKirk McKusick
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. Notes: svn path=/head/; revision=100207
2002-06-21This commit adds basic support for the UFS2 filesystem. The UFS2Kirk McKusick
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> Notes: svn path=/head/; revision=98542
2002-05-14Use explicitly sized fields for the tape format definition.Poul-Henning Kamp
Sponsored by: DARPA & NAI Labs. Notes: svn path=/head/; revision=96562
2002-05-12Added new bsd.incs.mk which handles installing of header filesRuslan Ermilov
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". Notes: svn path=/head/; revision=96462
2002-02-03WARNS-n and lint(1) silencer. Declare (const) strings properly asMark Murray
'const char *'. Notes: svn path=/head/; revision=90138
2001-11-20Use fixed-size fields in the structure for the timed protocol. ThisJohn Baldwin
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 Notes: svn path=/head/; revision=86644
2001-10-28Make the protocol/dumprestore.h header match restore's idea of the dumpMatthew Dillon
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. Notes: svn path=/head/; revision=85635
1999-09-05Zap $Revision$Peter Wemm
Notes: svn path=/head/; revision=50968
1999-08-27$Id$ -> $FreeBSD$Peter Wemm
Notes: svn path=/head/; revision=50473
1999-05-11Restored rev.1.11 which was clobbered by rev.1.12 (translated to `C').Bruce Evans
Notes: svn path=/head/; revision=46990
1999-05-0816 characters for the device name in /etc/dumpdates is not longJacques Vidrine
enough, particularly when using vinum. Allow 32 characters (arbitrary, I know) instead. PR: bin/11433 Notes: svn path=/head/; revision=46663
1999-05-02Part of routed upgrade.Mark Murray
Submitted by: Vernon Schryver <vjs@calcite.rhyolite.com> Notes: svn path=/head/; revision=46305
1998-11-0864bit clean nowDima Ruban
Notes: svn path=/head/; revision=40999
1998-10-2764bit fixes.Dima Ruban
(Note: ``dump'' doesn't work on alpha yet. Apparently there's a problem somewhere is the physio() area) Submitted by: myself && Matt Dillon. Notes: svn path=/head/; revision=40668
1998-10-20make talk/talkd work on alpha.Dima Ruban
Notes: svn path=/head/; revision=40536
1998-01-16Translated to `C' - commented out #ident.Bruce Evans
Notes: svn path=/head/; revision=32545
1997-05-07Back out all of yesterdays include file changes.Eivind Eklund
Notes: svn path=/head/; revision=25551
1997-05-07Make a lot of include-files self-contained. I excluded the patches changingEivind Eklund
int's to gid_t and uid_t - should I commit these, too? Closes PR misc/2625. Submitted by: Julian Assange <proff@iq.org> Notes: svn path=/head/; revision=25520
1996-11-19Matching routed.h to go along with latest routed.Garrett Wollman
Notes: svn path=/head/; revision=19886
1996-08-27New version of routed.h to match new version of routed.Garrett Wollman
Notes: svn path=/head/; revision=17844
1996-07-22New routed.h that goes with the new routed.Garrett Wollman
Notes: svn path=/head/; revision=17253
1996-05-30Protocol definitions for RIPv2.Garrett Wollman
Obtained from: Vernon Schryver <vjs@mica.denver.sgi.com> Notes: svn path=/head/; revision=16009
1995-05-30Remove trailing whitespace.Rodney W. Grimes
Notes: svn path=/head/; revision=8858
1994-08-21Changed idempotent strings to reflect directory area.Paul Richards
Reviewed by: Submitted by: Notes: svn path=/head/; revision=2163
1994-05-24BSD 4.4 Lite Include SourcesRodney W. Grimes
Notes: svn path=/head/; revision=1539