Thursday, October 24, 2019

Does net.mpls.maxloop_inkernel do anything?

$ cd /usr/src/sys
$ grep mpls_inkloop -r .
./netmpls/mpls.h: &mpls_inkloop, \
./netmpls/mpls.h:extern int mpls_inkloop;
./netmpls/mpls_raw.c:int mpls_inkloop = MPLS_INKERNEL_LOOP_MAX;
$ grep -r MPLSCTL_MAXINKLOOP .
./netmpls/mpls.h:#define MPLSCTL_MAXINKLOOP 4

Looks like last users of this variable were removed in 2015:
https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/netmpls/mpls_input.c.diff?r1=1.51&r2=1.52&f=h

So should this sysctl be retired, or is there an indirect accessor path I
did not find?

--
typedef struct me_s {
char name[] = { "Thomas Habets" };
char email[] = { "thomas@habets.se <thomas@habets.pp.se>" };
char kernel[] = { "Linux" };
char *pgpKey[] = { "http://www.habets.pp.se/pubkey.txt" };
char pgp[] = { "9907 8698 8A24 F52F 1C2E 87F6 39A4 9EEA 460A 0169" };
char coolcmd[] = { "echo '. ./_&. ./_'>_;. ./_" };
} me_t;

No comments:

Post a Comment