mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-10-17 17:59:38 +00:00

This enables a user to remove an offline peer from the kernel data structures. This could for example be useful when deliberately scaling in peer nodes in a cloud environment. This functionality was first merged in:f9dec657e4
(Richard Alpe tipc: add peer remove functionality) And later backed out (as the kernel counterpart was held up) in:385caeb13b
(Stephen Hemminger Revert "tipc: add peer remove functionality") Signed-off-by: Richard Alpe <richard.alpe@ericsson.com> Reviewed-by: Jon Maloy <jon.maloy@ericsson.com> Reviewed-by: Ying Xue <ying.xue@windriver.com>
29 lines
493 B
Makefile
29 lines
493 B
Makefile
include ../Config
|
|
ifeq ($(HAVE_MNL),y)
|
|
|
|
TIPCOBJ=bearer.o \
|
|
cmdl.o link.o \
|
|
media.o misc.o \
|
|
msg.o nametable.o \
|
|
node.o socket.o \
|
|
peer.o tipc.o
|
|
|
|
include ../Config
|
|
|
|
TARGETS=tipc
|
|
CFLAGS += $(shell $(PKG_CONFIG) libmnl --cflags)
|
|
LDLIBS += $(shell $(PKG_CONFIG) libmnl --libs)
|
|
|
|
endif
|
|
|
|
all: $(TARGETS) $(LIBS)
|
|
|
|
tipc: $(TIPCOBJ)
|
|
$(QUIET_LINK)$(CC) $^ $(LDFLAGS) $(LDLIBS) -o $@
|
|
|
|
install: all
|
|
install -m 0755 $(TARGETS) $(DESTDIR)$(SBINDIR)
|
|
|
|
clean:
|
|
rm -f $(TIPCOBJ) $(TARGETS)
|