Merge branch 'main' into next
Signed-off-by: David Ahern <dsahern@gmail.com>
This commit is contained in:
commit
b5a583fb32
6
Makefile
6
Makefile
|
|
@ -63,7 +63,7 @@ LDLIBS += $(LIBNETLINK)
|
||||||
all: config.mk
|
all: config.mk
|
||||||
@set -e; \
|
@set -e; \
|
||||||
for i in $(SUBDIRS); \
|
for i in $(SUBDIRS); \
|
||||||
do echo; echo $$i; $(MAKE) $(MFLAGS) -C $$i; done
|
do echo; echo $$i; $(MAKE) -C $$i; done
|
||||||
|
|
||||||
.PHONY: clean clobber distclean check cscope version
|
.PHONY: clean clobber distclean check cscope version
|
||||||
|
|
||||||
|
|
@ -101,11 +101,11 @@ version:
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@for i in $(SUBDIRS) testsuite; \
|
@for i in $(SUBDIRS) testsuite; \
|
||||||
do $(MAKE) $(MFLAGS) -C $$i clean; done
|
do $(MAKE) -C $$i clean; done
|
||||||
|
|
||||||
clobber:
|
clobber:
|
||||||
touch config.mk
|
touch config.mk
|
||||||
$(MAKE) $(MFLAGS) clean
|
$(MAKE) clean
|
||||||
rm -f config.mk cscope.*
|
rm -f config.mk cscope.*
|
||||||
|
|
||||||
distclean: clobber
|
distclean: clobber
|
||||||
|
|
|
||||||
|
|
@ -1285,8 +1285,8 @@ static const struct ifa_flag_data_t {
|
||||||
{ .name = "tentative", .mask = IFA_F_TENTATIVE, .readonly = true, .v6only = true},
|
{ .name = "tentative", .mask = IFA_F_TENTATIVE, .readonly = true, .v6only = true},
|
||||||
{ .name = "permanent", .mask = IFA_F_PERMANENT, .readonly = true, .v6only = true},
|
{ .name = "permanent", .mask = IFA_F_PERMANENT, .readonly = true, .v6only = true},
|
||||||
{ .name = "mngtmpaddr", .mask = IFA_F_MANAGETEMPADDR, .readonly = false, .v6only = true},
|
{ .name = "mngtmpaddr", .mask = IFA_F_MANAGETEMPADDR, .readonly = false, .v6only = true},
|
||||||
{ .name = "noprefixroute", .mask = IFA_F_NOPREFIXROUTE, .readonly = false, .v6only = true},
|
{ .name = "noprefixroute", .mask = IFA_F_NOPREFIXROUTE, .readonly = false, .v6only = false},
|
||||||
{ .name = "autojoin", .mask = IFA_F_MCAUTOJOIN, .readonly = false, .v6only = true},
|
{ .name = "autojoin", .mask = IFA_F_MCAUTOJOIN, .readonly = false, .v6only = false},
|
||||||
{ .name = "stable-privacy", .mask = IFA_F_STABLE_PRIVACY, .readonly = true, .v6only = true},
|
{ .name = "stable-privacy", .mask = IFA_F_STABLE_PRIVACY, .readonly = true, .v6only = true},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -517,6 +517,11 @@ static void print_ndtstats(const struct ndt_stats *ndts)
|
||||||
print_u64(PRINT_ANY, "forced_gc_runs", "forced_gc_runs %llu ",
|
print_u64(PRINT_ANY, "forced_gc_runs", "forced_gc_runs %llu ",
|
||||||
ndts->ndts_forced_gc_runs);
|
ndts->ndts_forced_gc_runs);
|
||||||
|
|
||||||
|
print_string(PRINT_FP, NULL, "%s ", _SL_);
|
||||||
|
|
||||||
|
print_u64(PRINT_ANY, "table_fulls", "table_fulls %llu ",
|
||||||
|
ndts->ndts_table_fulls);
|
||||||
|
|
||||||
print_nl();
|
print_nl();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1919,6 +1919,28 @@ change the
|
||||||
.B MULTICAST
|
.B MULTICAST
|
||||||
flag on the device.
|
flag on the device.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.BR "allmulticast on " or " allmulticast off"
|
||||||
|
change the
|
||||||
|
.B ALLMULTI
|
||||||
|
flag on the device. When enabled, instructs network driver to retrieve all
|
||||||
|
multicast packets from the network to the kernel for further processing.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.BR "promisc on " or " promisc off"
|
||||||
|
change the
|
||||||
|
.B PROMISC
|
||||||
|
flag on the device. When enabled, activates promiscuous operation of the
|
||||||
|
network device.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.BR "trailers on " or " trailers off"
|
||||||
|
change the
|
||||||
|
.B NOTRAILERS
|
||||||
|
flag on the device,
|
||||||
|
.B NOT
|
||||||
|
used by the Linux and exists for BSD compatibility.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.BR "protodown on " or " protodown off"
|
.BR "protodown on " or " protodown off"
|
||||||
change the
|
change the
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue