Move some of the code duplicated between ctld(8) and iscsid(8) into a libiscsiutil library. Sharing the low-level PDU code did require having a 'struct connection' base class with a method table to permit separate initiator vs target behavior (e.g. in handling proxy PDUs). Reviewed by: mav, emaste Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D33544
11 lines
180 B
Makefile
11 lines
180 B
Makefile
LIB= iscsiutil
|
|
INTERNALLIB=
|
|
PACKAGE= iscsi
|
|
|
|
INCS= libiscsiutil.h
|
|
|
|
SRCS= chap.c connection.c keys.c log.c pdu.c utils.c
|
|
CFLAGS+= -I${SRCTOP}/sys/dev/iscsi
|
|
|
|
.include <bsd.lib.mk>
|