Re: Call function on sysctl value change

2008-10-15 Thread Matthew Jakeman
On Wednesday 15 October 2008, Dag-Erling Smørgrav wrote: > Dag-Erling Smørgrav <[EMAIL PROTECTED]> writes: > > Matthew Jakeman <[EMAIL PROTECTED]> writes: > > > I was wondering if it is possible to call a function when a sysctl > > > value is changed. >

Call function on sysctl value change

2008-10-15 Thread Matthew Jakeman
Hi all, I was wondering if it is possible to call a function when a sysctl value is changed. I have added a few sysctl int variables to the kernel and for some of these i only want certain values to be acceptable as input depending on some conditions. I would like to be able to call a function

Re: Sysctl Naming

2007-10-11 Thread Matthew Jakeman
Please ignore this, stupid question as I have now realised. Cheers Matt On Thursday 11 October 2007 11:56, Matthew Jakeman wrote: > Hi All, > > I am wanting to create a number of sysctl variables at kernel boot time, 1 > for each network interface. I have the code set up to loop

Sysctl Naming

2007-10-11 Thread Matthew Jakeman
Hi All, I am wanting to create a number of sysctl variables at kernel boot time, 1 for each network interface. I have the code set up to loop through the interfaces using ifnet_byindex() already for other purposes so wanted to create them in this loop. The problem I'm having is naming them, us

RFC 3095 Robust Header Compression/IPv6 Header Compression

2006-12-05 Thread Matthew Jakeman
Hi all, Is there an implementation of RFC3095, Robust Header Compression, available for FreeBSD, if not, does anyone know of any IPv6 header compression available, all I can find so far is net/slcompress.c which will compress the TCP headers, I am looking to integrate an IPv6 header comrpession