History log of /freebsd-10.0-release/sbin/atm/atmconfig/diag.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 228611 16-Dec-2011 dim

In sbin/atm/atmconfig/diag.c, fix a few warnings about format strings
not being literals.

MFC after: 1 week


# 227081 04-Nov-2011 ed

Add missing static keywords for global variables to tools in sbin/.

These tools declare global variables without using the static keyword,
even though their use is limited to a single C-file, or without placing
an extern declaration of them in the proper header file.


# 168726 14-Apr-2007 maxim

o IFNAMSIZ includes a terminating null byte.

Submitted by: rdivacky
MFC after: 1 week


# 148718 05-Aug-2005 stefanf

Use the C99 syntax for designated initialisers.


# 132801 28-Jul-2004 harti

No need to include if_var.h.


# 132502 21-Jul-2004 harti

The media info is printed with the -hardware option so there is no
point to write 'Media' in the table header for the -atm option.


# 126643 05-Mar-2004 markm

Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror)
that this provokes. "Wherever possible" means "In the kernel OR NOT
C++" (implying C).

There are places where (void *) pointers are not valid, such as for
function pointers, but in the special case of (void *)0, agreement
settles on it being OK.

Most of the fixes were NULL where an integer zero was needed; many
of the fixes were NULL where ascii <nul> ('\0') was needed, and a
few were just "other".

Tested on: i386 sparc64


# 125018 26-Jan-2004 harti

Add support for virtual interfaces. These have no phy chip and, hence, we
need to handle interfaces without phy specially.


# 121676 29-Oct-2003 harti

Defer allocation of the actual receive mbuf until the external buffer
is returned from the card to the driver. Add a counter that shows
how many times this allocation has failed. Note, that we could even
further delay the allocation of the mbuf until we know, that we need it
(there are no receive errors and the connection is open). This will be done
in a later commit.

Print the new statistics field in atmconfig.


# 118824 12-Aug-2003 harti

Add a program for configuration of the ATM drivers and the IP over ATM
stuff. This utility allows inspection of the ATM characteristics,
the PHY layer, including statistics of both, the retrival of the
list of currently open channels and also allows access to utopia(4).