Home | History | Annotate | only in /src/include/protocols
History log of /src/include/protocols
RevisionDateAuthorComments
 1.20 19-Jun-2021  christos Add external attribute dumping and restoring support from FreeBSD.
Does not fully work yet, attributes are being saved and restored correctly,
but don't appear in the restored files somehow.
 1.19 05-Apr-2020  joerg Fix depenency on common symbols in sbin.
 1.18 22-Jan-2016  dholland branches: 1.18.16;
These all need stdint.h.

Also, dumprestore.h needs ufs/ufs/dinode.h; in talkd.h use unsigned
char instead of u_char; and in timed.h include limits.h and use
_POSIX_HOST_NAME_MAX instead of MAXHOSTNAMELEN as the latter would
require sys/param.h.
 1.17 16-Nov-2015  christos PR/50434: Louis Guillaume: Bump the in and out formats to 511 (NAME_MAX)
 1.16 11-Jan-2009  christos branches: 1.16.28;
merge christos-time_t
 1.15 26-Dec-2008  hannken Make restore work for Linux dump volumes by ignoring extended attribute
records on these volumes. Tested with Centos 5.2.

Reviewed by: Manuel Bouyer <bouyer@netbsd.org>
 1.14 26-Dec-2005  perry branches: 1.14.28; 1.14.30;
u_intN_t -> uintN_t
 1.13 06-Sep-2005  christos Change ino_t to u_int32_t for compatibility with the current dump/restore
format. Unfortunately this means that all dumps taken from the time of
the 64 bit inode changes (August 16th) will become unreadable with this
commit. To make them readable again, you can back-out this commit temporarily.
Please note, that I am not adding 64 bit inode support to the format on
purpose right now, because supporting 64 bit inodes on-disk will require
additional changes, and it is more appropriate to add such support then.
 1.12 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22270, verified by myself.
 1.11 02-Apr-2003  fvdl Add support for UFS2. UFS2 is an enhanced FFS, adding support for
64 bit block pointers, extended attribute storage, and a few
other things.

This commit does not yet include the code to manipulate the extended
storage (for e.g. ACLs), this will be done later.

Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.
 1.10 24-Jan-2003  fvdl Bump daddr_t to 64 bits. Replace it with int32_t in all places where
it was used on-disk, so that on-disk formats remain the same.
Remove ufs_daddr_t and ufs_lbn_t for the time being.
 1.9 23-Dec-2001  lukem Use "int32_t" instead of "time_t" for ``on tape'' times. (From FreeBSD.)
 1.8 10-Feb-1998  perry branches: 1.8.12;
add/cleanup multiple inclusion protection.
 1.7 30-Nov-1996  cgd patches from Tom I Helbekkmo <tih@nhh.no> to deal with type-size issues,
so this works (better, at least) on 64-bit machines (e.g. alpha).
 1.6 26-Oct-1994  cgd branches: 1.6.6;
new RCS ID format.
 1.5 15-Jun-1994  cgd kill some now-unnecessary defines
 1.4 16-May-1994  cgd update all but ctype.h, dumprestore.h, time.h to 4.4-Lite versions.
USL copyright additions on those. Kill varargs.h, because it can simply
be a link to the machine-dependent version.
 1.3 22-Dec-1993  cgd new version from CSRG, via BSDI, with fixes
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 02-Feb-1998  perry import lite-2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.6.6.1 06-Dec-1996  rat Pullup request from Chris G Demetriou <Chris_G_Demetriou@ux2.sp.cs.cmu.edu>

>Make dump and restore usable on the alpha.
 1.8.12.2 28-Jan-2002  nathanw Catch up to -current.
 1.8.12.1 14-Jan-2002  nathanw Catch up to -current.
 1.14.30.1 28-Dec-2008  christos sync with head.
 1.14.28.1 02-Jan-2009  snj Pull up following revision(s) (requested by hannken in ticket #210):
include/protocols/dumprestore.h: revision 1.15
sbin/restore/tape.c: revision 1.61
Make restore work for Linux dump volumes by ignoring extended attribute
records on these volumes. Tested with Centos 5.2.
Reviewed by: Manuel Bouyer <bouyer@netbsd.org>
 1.16.28.1 26-Jan-2016  riz Pull up following revision(s) (requested by christos in ticket #1068):
include/protocols/dumprestore.h: revision 1.17
PR/50434: Louis Guillaume: Bump the in and out formats to 511 (NAME_MAX)
 1.18.16.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.15 22-Jan-2016  dholland These all need stdint.h.

Also, dumprestore.h needs ufs/ufs/dinode.h; in talkd.h use unsigned
char instead of u_char; and in timed.h include limits.h and use
_POSIX_HOST_NAME_MAX instead of MAXHOSTNAMELEN as the latter would
require sys/param.h.
 1.14 26-Dec-2005  perry u_intN_t -> uintN_t
 1.13 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22270, verified by myself.
 1.12 30-Nov-2002  christos New auth length defines. We don't play with sockaddr for now. Also make
the list of commands const.
 1.11 10-Feb-1998  perry branches: 1.11.12;
add/cleanup multiple inclusion protection.
 1.10 03-Feb-1997  christos Apply the necessary fixes from: routed-970113
 1.9 04-Nov-1996  christos Fix RIP-V1 netinfo structure to be sizeof(sockaddr) + sizeof(u_int32_t) by
adding the missing RIP-V2 fields. This structure *must* always be the correct
size, otherwise programs that parse rip packets will break! (e.g.
tcpdump -s 1024 -vv broadcast would not parse rip packets correctly and
would fail after the first entry).
 1.8 20-Oct-1996  thorpej Add missing a_family member to struct netauth.
From David Carrel <carrel@ipsec.com>, PR #2872.
 1.7 24-Sep-1996  christos put back the explicit ripv1 field enumeration; lots of userland has changed
to use this.
 1.6 24-Sep-1996  christos - Revert to the traditional struct sockaddr description of the rip v1 packets.
- Fix a bad bug where:
u_int16_t n_dst;
should be:
u_int32_t n_dst;

If this bug is in the 1.2 release it should be part of the first patch.
 1.5 10-Aug-1996  thorpej Update from the new routed(8) source.
 1.4 20-Jun-1995  christos Update for rip version 2.
 1.3 26-Oct-1994  cgd new RCS ID format.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 02-Feb-1998  perry import lite-2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.11.12.1 10-Dec-2002  thorpej Sync with HEAD.
 1.8 22-Jan-2016  dholland These all need stdint.h.

Also, dumprestore.h needs ufs/ufs/dinode.h; in talkd.h use unsigned
char instead of u_char; and in timed.h include limits.h and use
_POSIX_HOST_NAME_MAX instead of MAXHOSTNAMELEN as the latter would
require sys/param.h.
 1.7 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22270, verified by myself.
 1.6 10-Feb-1998  perry add/cleanup multiple inclusion protection.
 1.5 02-Feb-1998  perry merge lite-2
 1.4 23-Sep-1996  mycroft {long,int} -> int32_t
 1.3 26-Oct-1994  cgd branches: 1.3.6;
new RCS ID format.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 02-Feb-1998  perry import lite-2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.3.6.1 10-Dec-1996  mycroft From trunk:
Fix type size problems (for alpha).
 1.12 11-Jul-2025  andvar Fix various typos, mainly in comments and log/error messages.
 1.11 22-Jan-2016  dholland branches: 1.11.28;
These all need stdint.h.

Also, dumprestore.h needs ufs/ufs/dinode.h; in talkd.h use unsigned
char instead of u_char; and in timed.h include limits.h and use
_POSIX_HOST_NAME_MAX instead of MAXHOSTNAMELEN as the latter would
require sys/param.h.
 1.10 26-Dec-2005  perry u_intN_t -> uintN_t
 1.9 24-Sep-2005  christos rename osockaddr to talkd_sockaddr and use that instead.
 1.8 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22270, verified by myself.
 1.7 10-Feb-1998  perry add/cleanup multiple inclusion protection.
 1.6 02-Feb-1998  perry merge lite-2
 1.5 04-Mar-1995  cgd oops; 'pid' is supposed to be signed (?)
 1.4 04-Mar-1995  cgd ship fixed-size quantities over the wire
 1.3 26-Oct-1994  cgd new RCS ID format.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 02-Feb-1998  perry import lite-2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.11.28.1 02-Aug-2025  perseant Sync with HEAD
 1.13 22-Jan-2016  dholland Erm, fix previous.
(also, as this protocol is externally defined it probably should use its
own constant and not either of these system-defined hostname lengths...)
 1.12 22-Jan-2016  dholland These all need stdint.h.

Also, dumprestore.h needs ufs/ufs/dinode.h; in talkd.h use unsigned
char instead of u_char; and in timed.h include limits.h and use
_POSIX_HOST_NAME_MAX instead of MAXHOSTNAMELEN as the latter would
require sys/param.h.
 1.11 16-Feb-2008  matt Change/fix tsptype to const char * const [];
 1.10 26-Dec-2005  perry branches: 1.10.10;
u_intN_t -> uintN_t
 1.9 05-Jul-2005  he Add const to the tsptype array, compiled under TSPTYPES.
Found while building for vax.
 1.8 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22270, verified by myself.
 1.7 10-Feb-1998  perry add/cleanup multiple inclusion protection.
 1.6 02-Feb-1998  perry merge lite-2
 1.5 09-Apr-1996  cgd time seconds/usec sent over the net are signed.
 1.4 06-Apr-1996  cgd use fixed-size types where appropriate, to make timed work on 64-bit
machines (Alpha). fixed sized types, not 'timeval's should go over
the net, and the stuff that goes over the net can't necessarily be
passed directly to functions that expect timevals.
 1.3 26-Oct-1994  cgd new RCS ID format.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 02-Feb-1998  perry import lite-2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.10.10.1 23-Mar-2008  matt sync with HEAD

RSS XML Feed