-/* $OpenBSD: bgpd.h,v 1.451 2022/08/29 18:18:55 claudio Exp $ */
+/* $OpenBSD: bgpd.h,v 1.452 2022/08/31 15:51:44 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
IMSG_CTL_SHOW_RIB_ATTR,
IMSG_CTL_SHOW_NETWORK,
IMSG_CTL_SHOW_RIB_MEM,
- IMSG_CTL_SHOW_RIB_HASH,
IMSG_CTL_SHOW_TERSE,
IMSG_CTL_SHOW_TIMER,
IMSG_CTL_LOG_VERBOSE,
long long pset_size;
};
-struct rde_hashstats {
- char name[16];
- long long num;
- long long min;
- long long max;
- long long sum;
- long long sumq;
-};
-
#define MRT_FILE_LEN 512
#define MRT2MC(x) ((struct mrt_config *)(x))
-/* $OpenBSD: rde.c,v 1.572 2022/08/31 14:29:36 claudio Exp $ */
+/* $OpenBSD: rde.c,v 1.573 2022/08/31 15:51:44 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
}
uint32_t peerhashsize = 1024;
-uint32_t pathhashsize = 128 * 1024;
-uint32_t attrhashsize = 16 * 1024;
-uint32_t nexthophashsize = 1024;
void
rde_main(int debug, int verbose)
case IMSG_CTL_SHOW_RIB_MEM:
imsg_compose(ibuf_se_ctl, IMSG_CTL_SHOW_RIB_MEM, 0,
imsg.hdr.pid, -1, &rdemem, sizeof(rdemem));
- imsg_compose(ibuf_se_ctl, IMSG_CTL_END, 0, imsg.hdr.pid,
- -1, NULL, 0);
break;
case IMSG_CTL_SHOW_SET:
/* first roa set */
-/* $OpenBSD: session.c,v 1.434 2022/08/26 14:10:52 claudio Exp $ */
+/* $OpenBSD: session.c,v 1.435 2022/08/31 15:51:44 claudio Exp $ */
/*
* Copyright (c) 2003, 2004, 2005 Henning Brauer <henning@openbsd.org>
case IMSG_CTL_SHOW_RIB_COMMUNITIES:
case IMSG_CTL_SHOW_RIB_ATTR:
case IMSG_CTL_SHOW_RIB_MEM:
- case IMSG_CTL_SHOW_RIB_HASH:
case IMSG_CTL_SHOW_NETWORK:
case IMSG_CTL_SHOW_NEIGHBOR:
case IMSG_CTL_SHOW_SET: