<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/lib/libifconfig, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2020-10-21T05:27:25Z</updated>
<entry>
<title>Move list_cloners to libifconfig</title>
<updated>2020-10-21T05:27:25Z</updated>
<author>
<name>Ryan Moeller</name>
<email>freqlabs@FreeBSD.org</email>
</author>
<published>2020-10-21T05:27:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=0710ec8ceff0b30f773ac606f29312275513b910'/>
<id>urn:sha1:0710ec8ceff0b30f773ac606f29312275513b910</id>
<content type='text'>
Move list_cloners() from ifconfig(8) to libifconfig(3) where it can be
reused by other consumers.

Reviewed by:	kp
Differential Revision:	https://reviews.freebsd.org/D26858
</content>
</entry>
<entry>
<title>libifconfig now depends on libm due to usage of log10().</title>
<updated>2020-09-02T22:10:08Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2020-09-02T22:10:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=4d135bbd7fd2669f2238d0d0074ce9a17d720630'/>
<id>urn:sha1:4d135bbd7fd2669f2238d0d0074ce9a17d720630</id>
<content type='text'>
ld.bfd in particular requires -lm to come after libifconfig on the
command line when linking rescue.

Reviewed by:	freqlabs, adrian
Differential Revision:	https://reviews.freebsd.org/D26258
</content>
</entry>
<entry>
<title>Move ifconfig SFP status functionality into libifconfig</title>
<updated>2020-08-09T16:27:28Z</updated>
<author>
<name>Ryan Moeller</name>
<email>freqlabs@FreeBSD.org</email>
</author>
<published>2020-08-09T16:27:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=94cba8034ba53725c225c85e35724f0c2b13cea5'/>
<id>urn:sha1:94cba8034ba53725c225c85e35724f0c2b13cea5</id>
<content type='text'>
libifconfig_sfp.h provides an API in libifconfig for querying SFP module
properties, operational status, and vendor strings, as well as descriptions
of the various fields, string conversions, and other useful helpers for
implementing user interfaces.

SFP module status is obtained by reading registers via an I2C interface.
Descriptions of these registers and the values therein have been collected
in a Lua table which is used to generate all the boilerplace C headers and
source files for accessing these values, their names, and descriptions.
The generated code is fully commented and readable.

This is the first use of libifconfig in ifconfig itself.  For now, the
scope remains very limited.  Over time, more of ifconfig will be replaced
with libifconfig.

Some minor changes to the formatting of ifconfig output have been made:
- Module memory hex dumps are indented one extra space as a result of using
hexdump(3) instead of a bespoke hex dump function.
- Media descriptions have an added two-character short-name in parenthesis.
- QSFP modules were incorrectly displaying TX bias current as power.  Now
  TX channels display bias current, and this change has been made for both
  SFP and QSFP modules for consistency.

A Lua binding for libifconfig including this functionality is implemented
but has not been included in this commit.  The plan is for it to be
committed after dynamic module loading has been enabled in flua.

Reviewed by:	kp, melifaro
Relnotes:	yes
Differential Revision:	https://reviews.freebsd.org/D25494
</content>
</entry>
<entry>
<title>libifconfig: Add function to get bridge status</title>
<updated>2020-07-01T02:32:41Z</updated>
<author>
<name>Ryan Moeller</name>
<email>freqlabs@FreeBSD.org</email>
</author>
<published>2020-07-01T02:32:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=e5539fb618cc73fa5a00fc82e35b2803dd1403b3'/>
<id>urn:sha1:e5539fb618cc73fa5a00fc82e35b2803dd1403b3</id>
<content type='text'>
The new function operates similarly to ifconfig_lagg_get_lagg_status and
likewise is accompanied by a function to free the bridge status data structure.

I have included in this patch the relocation of some strings describing STP
parameters and the PV2ID macro from ifconfig into net/if_bridgevar.h as they
are useful for consumers of libifconfig.

Reviewed by:	kp, melifaro, mmacy
Approved by:	mmacy (mentor)
MFC after:	1 week
Relnotes:	yes
Differential Revision:	https://reviews.freebsd.org/D25460
</content>
</entry>
<entry>
<title>libifconfig: remove redundant NULL check</title>
<updated>2020-05-27T18:26:10Z</updated>
<author>
<name>Eric van Gyzen</name>
<email>vangyzen@FreeBSD.org</email>
</author>
<published>2020-05-27T18:26:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=1add7d0f8da88ee9c77512d1d23eafcff811d6de'/>
<id>urn:sha1:1add7d0f8da88ee9c77512d1d23eafcff811d6de</id>
<content type='text'>
Submitted by:	Puneeth_kumar.Jothaiah@emc.com
Reported by:	Coverity
Sponsored by:	Dell EMC Isilon
</content>
</entry>
<entry>
<title>wlandebug: Add include path for libifconfig as it is a internallib</title>
<updated>2020-03-25T01:31:26Z</updated>
<author>
<name>Emmanuel Vadot</name>
<email>manu@FreeBSD.org</email>
</author>
<published>2020-03-25T01:31:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=e055e3367e4febc5999d123c2fb418e9ede607d1'/>
<id>urn:sha1:e055e3367e4febc5999d123c2fb418e9ede607d1</id>
<content type='text'>
Reviewed by:	bapt
Differential Revision:	https://reviews.freebsd.org/D24172
</content>
</entry>
<entry>
<title>Make libifconfig INTERNALLIB</title>
<updated>2019-02-25T18:22:20Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2019-02-25T18:22:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=e1157dcec4087620c1bb915ddbc244a2349d013b'/>
<id>urn:sha1:e1157dcec4087620c1bb915ddbc244a2349d013b</id>
<content type='text'>
Instead of PRIVATELIB + NO_PIC.  This avoids the need for the wlandebug
PIE special case added in r344211, and provides a stronger guarantee
against 3rd party software coming to depend on the API or ABI.

If / when we declare the API/ABI to be stable we can make it a normal
library.

Discussed with:	bapt
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>Finish removing FDDI and tokenring media support.</title>
<updated>2018-04-23T21:10:33Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2018-04-23T21:10:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=4204224162bed8605ea05f2797af69d5c636e9bb'/>
<id>urn:sha1:4204224162bed8605ea05f2797af69d5c636e9bb</id>
<content type='text'>
This fixes media display for 802.11 wireless devices.

Software outside the base system that uses these media types and
defines should use #ifdef IFM_FDDI or IFM_TOKEN to include or remove
support.

Reported by:	zeising
Reviewed by:	emaste, kib, zeising
Tested by:	zeising
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D15170
</content>
</entry>
<entry>
<title>Remove support for FDDI and token ring media types in userland utilities.</title>
<updated>2018-04-16T18:07:51Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2018-04-16T18:07:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=eec02418d83b432d797f86a9d970368849b64e3e'/>
<id>urn:sha1:eec02418d83b432d797f86a9d970368849b64e3e</id>
<content type='text'>
Reviewed by:	kib
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D15077
</content>
</entry>
<entry>
<title>Remove support for FDDI networks.</title>
<updated>2018-04-11T17:28:24Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2018-04-11T17:28:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=0437c8e3b1981415c8010f0e3e6517ebdaf34247'/>
<id>urn:sha1:0437c8e3b1981415c8010f0e3e6517ebdaf34247</id>
<content type='text'>
Defines in net/if_media.h remain in case code copied from ifconfig is in
use elsewere (supporting non-existant media type is harmless).

Reviewed by:	kib, jhb
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D15017
</content>
</entry>
</feed>
