How to get MAC address using C program

2004-11-10 Thread Dennis George
Hi, Can anybody help me out to retrieve MAC address of my machine... using a C program I gave it a try using ioctl but not getting the correct result.. Following is my code.. int main() { .. struct ifr_req ifr ; strcpy(ifr.ifr_name, "rl0"); if( ioctl(s, SIOCGIFADDR,

kconfig_compiler... not found

2004-10-14 Thread Dennis George
Hi all, I am working on freeBSD 5.2.1 I was installing a RSS reader (akregator)... while installing it gave me the following error. can anybody tell me how can install kconfig_compiler properly where can I find the code to install. or can I rectify this error by doing some co

Binding process to a fixed processor

2004-09-06 Thread Dennis George
Hi all, I am working on a intel based multi processor system. I like to know how can I bind one process permanently to one processor. and other one for general use. thanks in advance Dennis __ Do You Yahoo!? Tired of spam? Yahoo! Mail

Re: MAXDSIZ and MAXSIZ

2004-08-30 Thread Dennis George
0 (PDT), Dennis George wrote: > I was going through the following post to understand MAXDSIZ and MAXSSIZ... > Its really a helpfull post... > > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=83003+0+archive/2002/freebsd-hackers/20020804.freebsd-hackers > > But I have a doubt

MAXDSIZ and MAXSIZ

2004-08-29 Thread Dennis George
I was going through the following post to understand MAXDSIZ and MAXSSIZ... Its really a helpfull post... http://docs.freebsd.org/cgi/getmsg.cgi?fetch=83003+0+archive/2002/freebsd-hackers/20020804.freebsd-hackers But I have a doubt about this... Is the MAXDSIZ the offset or its

PROCFS

2004-08-17 Thread Dennis George
Hi all, Can I disable PROCFS (through kernel configuration[sysctl/GENERIC] ) in freeBSD If yes then what will the effect of this ??? I mean to say that, do we really need the PROCFS ? If I disable it will I get any improvement in system performance in terms of speed ? Dennis

ELF Kernel

2004-08-17 Thread Dennis George
What is elf kernel ? - Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, se

Kernel Hacking (symbol not Found)

2004-08-17 Thread Dennis George
Hi, I am studying the kernel source of FreeBSD. I like to know the flow of packets from NIC to different modules of Kernel and then to the user-level. I studied the code and identified some of the functions through which the kernel handles network packets. But I want to check from where th