On 12/26/11 8:44 AM, Rajneesh Kumar wrote:
Hello sir/madam,
Please help!
I am trying to modify the ARP module. I want to know which function can
allocate memory for a given structure type and return me back the same?
e.g. I want to have declared a pointer of sockaddr_dl{} type. Now I want to
allocate memory to it. How can I do it?
Thank You!
for in-kernel resources, there is a special section (section 9) in
the freeBSD man pages..
in this case start with
man 9 malloc and fiollow teh "see also" links.
here's a link to get you started.
http://www.freebsd.org/cgi/man.cgi?query=malloc&sektion=9
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"