summaryrefslogtreecommitdiff
path: root/libmachdev/net.c
AgeCommit message (Collapse)Author
2014-11-27sync libmachdevJustus Winter
2014-11-26sync libmachdevJustus Winter
2014-11-26sync libmachdev/net.cJustus Winter
2014-11-14bettr ddeJustus Winter
2014-09-03update libmachdev from hurd-ddeJustus Winter
2014-04-13sync with dde-fixesJustus Winter
2013-02-24Fix getting parameter for set_statusSamuel Thibault
* libmachdev/net.c (device_set_status): Use count as number of parameter, not number of bytes. Take status as integer, not short.
2012-11-27Move DDE to pthreadsRichard Braun
Makefiles, headers, types, macros and function calls are renamed where appropriate. ds_server now takes a void* and returns a void*. * dde26_test/Makefile: Switch from cthreads to pthreads. * dde_e100/Makefile: Likewise. * dde_e100/main.c: Likewise. * dde26_test/Makefile: Likewise. * dde_e100/Makefile: Likewise. * dde_e100/main.c: Likewise. * dde_e1000/Makefile: Likewise. * dde_e1000/main.c: Likewise. * dde_ne2k_pci/Makefile: Likewise. * dde_ne2k_pci/main.c: Likewise. * dde_pcnet32/Makefile: Likewise. * dde_pcnet32/main.c: Likewise. * dde_pcnet32_test/Makefile: Likewise. * dde_rtl8139/Makefile: Likewise. * dde_rtl8139/main.c: Likewise. * libbpf/Makefile: Likewise. * libddekit/Makefile: Likewise. * libddekit/condvar.c: Likewise. * libddekit/lock.c: Likewise. * libddekit/pgtab.c: Likewise. * libddekit/thread.c: Likewise. * libddekit/timer.c: Likewise. * libhurd-slab/Makefile: Likewise. * libhurd-slab/slab.c: Likewise. * libhurd-slab/slab.h: Likewise. * libmachdev/Makefile: Likewise. * libmachdev/dev_hdr.h: Likewise. * libmachdev/ds_routines.c: Likewise. * libmachdev/if_hdr.h: Likewise. * libmachdev/io_req.h: Likewise. * libmachdev/machdev.h: Likewise. * libmachdev/net.c: Likewise. * libmachdev/queue.h: Likewise.
2012-05-20Do not stop delivering packets when a pfinet has diedSamuel Thibault
We should remove the pfinet from the list instead. * libmachdev/net.c (deliver_msg): Do not break the deliver loop when mach_msg returned an error.
2010-08-04not print errors if fails to deliver packages.Zheng Da
2010-08-01Use BPF to filter the packets to be delivered.Zheng Da
2010-06-21fix port leak in block glue code of libmachdev.Zheng Da
2010-06-04support block devices in the DDE library.Zheng Da
2010-06-04convert linux errno to mach in libmachdev.Zheng Da
2010-05-31make glue code of networking more independant.Zheng Da
This change is required for block device drivers. When block device drivers are linked to the glue code, the linker should be able to perform garbage collection and exclude the code of networking from the driver programs.
2010-05-04Add printing.Zheng Da
2010-02-08remove io done thread.Zheng Da
eliminate a potential race condition in thread_wait and thread_wakeup.
2010-02-08return packet transmission error to the client.Zheng Da
2010-02-05deallocate skb_reply before freeing the packet.Zheng Da
2010-02-05create device port with create_device_port.Zheng Da
2010-02-01check in libmachdev.Zheng Da