Mario Lobo wrote:
Hi;
Would anyone have a tip on how to get the MAC from a C program?
I tried:
struct ifreq ifreq;
unsigned char *hw;
strcpy(ifreq.ifr_name, rl0);
ioctl(fd, SIOCGIFMAC, ifreq);
hw = ifreq.ifr_ifru.ifru_data;
This is probably very far from
Miguel Mendez wrote:
On Thu, 29 Jun 2006 13:12:31 +0200
Christian Zander [EMAIL PROTECTED] wrote:
Hi,
I just saw an article on OSNews about this, seems I missed it.
NVIDIA has been looking at ways to improve its graphics driver for the
FreeBSD i386 platform, as well as investigating
Rick C. Petty wrote:
What determines the probing order of the ports/channels on the PDC40718
(Promise TX4 SATA300 controller)? The SATA ports are labeled Port 1
through Port 4. I have a total of four of these cards, and all of
them repeatably probe out of order:
label reported in FreeBSD
Jeremie Le Hen wrote:
Hi Christophe,
a quick glance at the archives whould have helped you.
I also experienced the problem and read the thread. I don't believe
anybody found and shared a way to solve it. The conclusion of the thread
was that the problem is more in the application then in
On Wed, 22 Jun 2005, I wrote:
Daniel Eischen wrote:
On Tue, 21 Jun 2005, Michal Mertl wrote:
Dag-Erling Smrgrav wrote:
Charles Sprickman [EMAIL PROTECTED] writes:
1. FreeBSD and threads. On FreeBSD there's a native user-level
implementation of threads called 'pthread
Daniel Eischen wrote:
On Tue, 21 Jun 2005, Michal Mertl wrote:
Dag-Erling Smrgrav wrote:
Charles Sprickman [EMAIL PROTECTED] writes:
1. FreeBSD and threads. On FreeBSD there's a native user-level
implementation of threads called 'pthread' and there's also an
optional ports
Dag-Erling Smørgrav wrote:
Charles Sprickman [EMAIL PROTECTED] writes:
1. FreeBSD and threads. On FreeBSD there's a native user-level
implementation of threads called 'pthread' and there's also an
optional ports collection 'linuxthreads' that uses kernel hooks.
This is only the case for
that it's not very common to have more than ~4000 sockets but
I think it should be possible. It can be the reason of others' failures I
guess.
--
Michal Mertl
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message
Greg Shenaut wrote:
In message [EMAIL PROTECTED], Dan Nelson cleopede:
In the last episode (Feb 03), Alfred Perlstein said:
* Michal Mertl [EMAIL PROTECTED] [020203 08:17] wrote:
Not really sure what to make of this, anyone else know how we ought
to fix this?
This has actually been
;
gettimeofday(st, NULL);
for (k = 0; k NUMTESTS; k++) {
atomic_add_64(i, j);
}
gettimeofday(en, NULL);
difftimeval(st, en);
printf(%lu.%06lu\n, en.tv_sec, en.tv_usec);
return (EXIT_SUCCESS);
}
- 8
--
Michal Mertl
[EMAIL
from 32 to 64 bit, some of world has to
be rebuild too (to notice the change in structs which contain the
counters). Namely ifconfig, netstat, systat and probably others.
--
Michal Mertl
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers
11 matches
Mail list logo