History log of /freebsd/sbin/nos-tun/nos-tun.c (Results 1 – 25 of 41)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# bb8fa2ef 28-Jun-2024 Konrad Witaszczyk <def@FreeBSD.org>

sbin/nos-tun: correct SIOCDIFADDR calls to use ifreq

The SIOCDIFADDR ioctl takes an ifreq structure object, not an ifaliasreq
structure object, as its argument.

Reviewed by: brooks, jhb, oshogbo
Ap

sbin/nos-tun: correct SIOCDIFADDR calls to use ifreq

The SIOCDIFADDR ioctl takes an ifreq structure object, not an ifaliasreq
structure object, as its argument.

Reviewed by: brooks, jhb, oshogbo
Approved by: oshogbo (mentor)
Obtained from: CheriBSD
Differential Revision: https://reviews.freebsd.org/D46017

show more ...


Revision tags: release/14.1.0, release/13.3.0, release/14.0.0
# eba230af 25-Sep-2023 John Baldwin <jhb@FreeBSD.org>

Purge more stray embedded $FreeBSD$ strings

These do not use __FBSDID but instead use bare char arrays.

Reviewed by: imp, emaste
Differential Revision: https://reviews.freebsd.org/D41957


# 65f3be91 07-Jul-2023 Alfonso Gregory <gfunni234@gmail.com>

Mark usage function as __dead2 in programs where it does not return

In most cases, usage does not return, so mark them as __dead2. For the
cases where they do return, they have not been marked __dea

Mark usage function as __dead2 in programs where it does not return

In most cases, usage does not return, so mark them as __dead2. For the
cases where they do return, they have not been marked __dead2.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/735

show more ...


# 4d846d26 10-May-2023 Warner Losh <imp@FreeBSD.org>

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix

show more ...


Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0
# 1de7b4b8 27-Nov-2017 Pedro F. Giffuni <pfg@FreeBSD.org>

various: general adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error

various: general adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

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.

No functional change intended.

show more ...


Revision tags: release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0
# 3b8f0845 28-Apr-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Merge head


# 84e51a1b 23-Apr-2014 Alan Somers <asomers@FreeBSD.org>

IFC @264767


# 485ac45a 04-Feb-2014 Peter Grehan <grehan@FreeBSD.org>

MFC @ r259205 in preparation for some SVM updates. (for real this time)


Revision tags: release/10.0.0
# 0bfd163f 18-Oct-2013 Gleb Smirnoff <glebius@FreeBSD.org>

Merge head r233826 through r256722.


# 482d8831 15-Oct-2013 Kevin Lo <kevlo@FreeBSD.org>

Use INADDR_NONE instead of -1 to check inet_addr() result.

Reviewed by: glebius


Revision tags: release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0, release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0
# a4bf5fb9 28-Apr-2010 Kirk McKusick <mckusick@FreeBSD.org>

Update to current version of head.


Revision tags: release/7.3.0_cvs, release/7.3.0
# b9279536 10-Mar-2010 Ulrich Spörlein <uqs@FreeBSD.org>

nos-tun(8): make WARNS=3 clean

The renames are in spirit of DragonflyBSD, to keep diff minimal.

PR: bin/140060
Approved by: ed (co-mentor)


Revision tags: release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0
# 8d646af5 10-Feb-2005 Ruslan Ermilov <ru@FreeBSD.org>

Sync program's usage() with manpage's SYNOPSIS.


Revision tags: release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0
# 7b4ef4ac 26-Oct-2003 Peter Wemm <peter@FreeBSD.org>

64 bit fixes. in_addr_t is an uint32_t, not a u_long.


Revision tags: release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs
# 51f42932 16-Sep-2002 Mike Barcroft <mike@FreeBSD.org>

Don't depend on <sys/types.h> pollution in <fcntl.h>. Sort includes.


Revision tags: release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs
# d476a036 21-Mar-2002 Warner Losh <imp@FreeBSD.org>

o remove __P
o remove main prototype


Revision tags: release/4.5.0_cvs, release/4.4.0_cvs
# 955052cf 20-Jan-2002 Bill Fumerola <billf@FreeBSD.org>

from select(2):
Any of readfds, writefds, and exceptfds may be given as nil
pointers if no descriptors are of interest.

neither wfds nor efds were of interest so now they are nil.

also, do a litt

from select(2):
Any of readfds, writefds, and exceptfds may be given as nil
pointers if no descriptors are of interest.

neither wfds nor efds were of interest so now they are nil.

also, do a little better then making an educated guess for nfds.

show more ...


# 56bded8a 23-Jul-2001 Kris Kennaway <kris@FreeBSD.org>

s/adress/address/

Inspired by: OpenBSD
MFC After: 1 week


Revision tags: release/4.3.0_cvs, release/4.3.0
# 6d4a212d 28-Mar-2001 Poul-Henning Kamp <phk@FreeBSD.org>

Allow specification of which source address to use for encapsulation.

PR: 25847
Submitted by: Eugene Polovnikov <eugene@brain-fag.org>


Revision tags: release/4.2.0, release/4.1.1_cvs, release/4.1.0, release/3.5.0_cvs
# 685fd2c5 09-Jun-2000 Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org>

Fix occurences of nos_tun to nos-tun, this improves internal
consistency as well as an usage printout.

PR: 10538
Submitted by: piazza
Nudged by: nrahlstr


Revision tags: release/4.0.0_cvs, release/3.4.0_cvs, release/3.3.0_cvs
# 7f3dea24 28-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


Revision tags: release/3.2.0
# d59cf2ac 29-Mar-1999 Poul-Henning Kamp <phk@FreeBSD.org>

Add ability to set protocol number.

PR: 10753
Submitted by: Isao SEKI <iseki@gongon.com>


Revision tags: release/3.1.0, release/3.0.0, release/2.2.8
# ab845347 02-Aug-1998 Bruce Evans <bde@FreeBSD.org>

Fixed printf format errors.


Revision tags: release/2.2.7
# 1109d2e0 15-Jul-1998 Philippe Charnier <charnier@FreeBSD.org>

Do not uppercase first letter in syslog() string.


# 59edad7a 05-May-1998 Philippe Charnier <charnier@FreeBSD.org>

Add usage() and rcsid. Getopt() returns -1 not EOF. Remove unused #includes.
Use .An/.Aq in man page.


12