Re: Using lagg

2014-07-26 Thread Dominic Froud
On 25/07/2014 23:32, Sridhar Iyer wrote: I was looking at sys/net/if_lagg.c, and wanted to know the usage of functions such as lagg_ioctl(), lagg_input() etc. Regards, Sridhar Those functions are part of the implementation of the lagg driver, internal to the kernel. They generally mirror si

Re: Using lagg

2014-07-25 Thread Sridhar Iyer
I was looking at sys/net/if_lagg.c, and wanted to know the usage of functions such as lagg_ioctl(), lagg_input() etc. Regards, Sridhar On Fri, Jul 25, 2014 at 3:28 PM, Glen Barber wrote: > On Fri, Jul 25, 2014 at 03:05:00PM -0700, Sridhar Iyer wrote: > > I didn't find the api examples > > > h

Re: Using lagg

2014-07-25 Thread Glen Barber
On Fri, Jul 25, 2014 at 03:05:00PM -0700, Sridhar Iyer wrote: > I didn't find the api examples > http://www.freebsd.org/cgi/man.cgi?query=lagg&sektion=4&apropos=0&manpath=FreeBSD+9.2-RELEASE+and+Ports > This only shows the usage via cli. > See the rc.conf(5) manual. Glen pgpbozXGWKYNv.pgp Des

Re: Using lagg

2014-07-25 Thread Steven Hartland
Not sure what you mean by API examples? The usual use of this would be to configure it at startup in /etc/rc.conf Regards Steve - Original Message - From: "Sridhar Iyer" To: "Steven Hartland" Cc: "freebsd-net" Sent: Friday, July 25, 2014 11:05 P

Re: Using lagg

2014-07-25 Thread Sridhar Iyer
I didn't find the api examples http://www.freebsd.org/cgi/man.cgi?query=lagg&sektion=4&apropos=0&manpath=FreeBSD+9.2-RELEASE+and+Ports This only shows the usage via cli. Regards, Sridhar On Fri, Jul 25, 2014 at 2:58 PM, Steven Hartland wrote: > Have a look at the man page using: > man lagg >

Re: Using lagg

2014-07-25 Thread Steven Hartland
Have a look at the man page using: man lagg It gives you all the details including examples. Regards Steve - Original Message - From: "Sridhar Iyer" Hi all, I have been looking at apis in sys/net/if_lagg.c and usage in ifconfig/iflagg.c. They both seem to be different. I'm