- May 26, 2013
- May 24, 2013
-
-
Christoph Hellwig authored
-
Christoph Hellwig authored
-
Christoph Hellwig authored
-
- May 21, 2013
-
-
Christoph Hellwig authored
-
Christoph Hellwig authored
-
- May 20, 2013
-
-
Avi Kivity authored
Instead of a subclass, make it a thread attribute. This simplifies usage and also allows detaching a thread after creation.
-
Guy Zana authored
-
Guy Zana authored
read_random() is used indirectly by the TCP stack to randomize a local port number, before this patch it was identical in each execution, and that caused NAT problems. also add a FIXME note to implement real random one day.
-
Guy Zana authored
the linux/musl definition is 2 bytes long instead of 1 byte as in freebsd, this patch is fixing this issue which caused ifconfig to fail
-
Guy Zana authored
Attempting to put an end to the linux<->freebsd confusion.
-
- May 18, 2013
-
-
Christoph Hellwig authored
-
Christoph Hellwig authored
We already get most of this from <sys/param.h>
-
Christoph Hellwig authored
-
Christoph Hellwig authored
-
Christoph Hellwig authored
-
Christoph Hellwig authored
-
Avi Kivity authored
Add includes where needed, remove duplicate definitions
-
- May 16, 2013
-
-
Christoph Hellwig authored
-
Christoph Hellwig authored
-
Christoph Hellwig authored
-
Christoph Hellwig authored
-
Christoph Hellwig authored
This isn't actually a BSD native API as FreeBSD uses a per-cpu variable to store cpuids, but rather a replacement we can use.
-
Christoph Hellwig authored
-
- May 14, 2013
-
-
Guy Zana authored
will be used to set the default gateway or set a network route for example by doing: route add -net x.x.x.x netmask x.x.x.x gw x.x.x.x
-
Guy Zana authored
-
Guy Zana authored
-
Guy Zana authored
SIOCSIFFLAGS should be sent in anyway in order to initialize the interface, the SIOCGIFFLAGS returned IFF_UP for some reason so it should be further investigated, add a fixme for now
-
- May 12, 2013
-
-
Arnon Kanfi authored
-
Arnon Kanfi authored
the lack of extern "C").
-
Christoph Hellwig authored
This is a way to sleep without a wakeup channel. I had to rename the symbol to bsd_pause because it conflicts with the classic Unix pause syscall exposed through unistd.h via libcstd++.
-
Arnon Kanfi authored
NET_RT_IFLIST (list interfaces) and NET_RT_DUMP (dump rout entries).
-
Christoph Hellwig authored
-
Christoph Hellwig authored
-
Christoph Hellwig authored
This flag implies the created thread is not started, but we currently always start it. In addition the thread_lock/sched_add/thread_unlock mess the BSD code usually does is something we'd rather avoid for now.
-
Christoph Hellwig authored
-
Arnon Kanfi authored
Linux IOCTL commands in addition to the BSD IOCTLS. Linux IOCTLs should be used instead of BSD IOCTLs whenever possible.
-
Arnon Kanfi authored
Added support for passing bsd commands to setsockopt() by negating the bsd cmd values. This is guarnteed NOT to clash with Linux commands.
-
Christoph Hellwig authored
-