Date: Sun, 16 Jun 2002 00:40:55 +0300 From: "Mihail Balikov" <misho@interbgc.com> To: "Luigi Rizzo" <rizzo@icir.org> Cc: <ipfw@freebsd.org> Subject: Re: New ipfw code available Message-ID: <000d01c214b5$54509b00$eee209d9@interbgc.com> References: <20020608201909.A41807@iguana.icir.org> <001601c21451$ce2f2d60$eee209d9@interbgc.com> <20020615112018.A15684@iguana.icir.org>
next in thread | previous in thread | raw e-mail | index | archive | help
something like this: sys/netinet/ip_fw.c: static u_int64_t seq_num = 0; SYSCTL_INT(_net_inet_ip_fw, OID_AUTO, seq_num, CTLFLAG_RW, &seq_num, 0, "Sequence number of changes"); static int ip_fw_ctl(struct sockopt *sopt) { [...] case IP_FW_FLUSH: seq_num++; [...] case IP_FW_ADD: seq_num++; [...] case IP_FW_DEL: seq_num++; .... } it's should be useful to have similar counter for dummynet. regards, m. ----- Original Message ----- From: "Luigi Rizzo" <rizzo@icir.org> To: "Mihail Balikov" <misho@interbgc.com> Cc: <ipfw@freebsd.org> Sent: Saturday, June 15, 2002 9:20 PM Subject: Re: New ipfw code available > On Sat, Jun 15, 2002 at 12:48:30PM +0300, Mihail Balikov wrote: > > how about adding simple checksum of rules , something like incrementing > > counter on every > > IP_FW_FLUSH, IP_FW_ADD, IP_FW_DEL > > what do you mean ? > > luigi > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ipfw" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000d01c214b5$54509b00$eee209d9>