b1d757bc1d
Added the ability to: * Create virtual interfaces * Create vlan interfaces * Get interface fib * Get interface groups * Get interface status * Get nd6 info * Get media status * Get additional ifaddr info in a convenient struct * Get vhids * Get carp info * Get lagg and laggport status * Iterate over all interfaces and ifaddrs And add more examples, too. Note that this is a backwards-incompatible change. But that's ok, because it's a private library. MFC after: 3 weeks Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D14463
24 lines
434 B
Makefile
24 lines
434 B
Makefile
# $FreeBSD$
|
|
|
|
PACKAGE= lib${LIB}
|
|
LIB= ifconfig
|
|
PRIVATELIB= true
|
|
# Don't build shared library, for now.
|
|
NO_PIC=
|
|
|
|
SHLIBDIR?= /lib
|
|
SHLIB_MAJOR= 1
|
|
SRCS= libifconfig.c libifconfig_carp.c libifconfig_inet.c
|
|
SRCS+= libifconfig_inet6.c libifconfig_internal.c libifconfig_lagg.c
|
|
SRCS+= libifconfig_media.c
|
|
|
|
INCSDIR= ${INCLUDEDIR}
|
|
INCS= libifconfig.h
|
|
|
|
#MAN= libifconfig.3
|
|
|
|
CFLAGS+= -I${.CURDIR}
|
|
NO_WCAST_ALIGN= yes
|
|
|
|
.include <bsd.lib.mk>
|