summaryrefslogtreecommitdiffstats
path: root/bpf.c
Commit message (Expand)AuthorAge
* Move the source files along with dev, crypt and comapt into src dir.Roy Marples2017-03-15
* bpf: only interested in direct conflict (sender) or ARP probes.Roy Marples2017-03-10
* Fix compile warnings on NetBSD ERLITE.Roy Marples2017-03-08
* Reading BPF works fine on SunOS as well.Roy Marples2017-03-08
* Workaround a SunOS bug with reading more than 2^31 bytes of data.Roy Marples2017-03-08
* Include paths.h for _PATH_BPFRoy Marples2017-03-08
* Rename if_*raw functions to bpf_* so it's more descriptive and moveRoy Marples2017-03-08
* bpf: match ip_dst to to lease address when boundRoy Marples2017-03-05
* bpf: ARP and BOOTP filter improvementsRoy Marples2017-03-05
* Move all BSD only sources into if-bsd.cRoy Marples2014-04-23
* Add -Wconversion to debug CFLAGS and fix fallout.Roy Marples2014-03-27
* Compile and work on OpenBSD.Roy Marples2014-03-05
* PATH_MAX is too much, lets be more preciseRoy Marples2014-02-12
* Remove needless mallocRoy Marples2014-02-12
* Remove custom set_cloexec and set_nonblock functions.Roy Marples2014-02-07
* Fix payload address calculation.Roy Marples2014-01-20
* bpf(4) says that we need to include sys/time.h as well.Roy Marples2014-01-14
* Cleanup IPv4 fd opening and closing.Roy Marples2013-11-12
* Fix compile on FreeBSDRoy Marples2013-02-17
* Fix compile on BSDRoy Marples2013-02-04
* When the dhcp server is running in dom0 and the client in domU,Roy Marples2011-03-24
* Add (c) to CopyrightRoy Marples2009-05-01
* Enforce NetBSD KNF style moreRoy Marples2009-02-11
* Remove logger and exclusively uses syslog instead. This saves almost 2K on Ne...Roy Marples2008-09-05
* Remove #ifdefs to disable specific bits of code. We now build everything - we...Roy Marples2008-07-23
* fd -> raw_fdRoy Marples2008-07-16
* Fix sending of ARP packets.Roy Marples2008-07-10
* Cleaner fix for working with PCC.Roy Marples2008-07-03
* Work around PCC not supporting the __packed__ attribute on structures. dhcpcd...Roy Marples2008-07-03
* Cleaner code when ARP is disabled.Roy Marples2008-06-30
* Remove the signal array stack as our pipe handling should be secure enough no...Roy Marples2008-06-10
* Fix compile.Roy Marples2008-06-09
* Re-write the client state engine around a simple timer instead of complex loo...Roy Marples2008-06-08
* Put my code at the top and UNCONST filters in bpf.cRoy Marples2008-05-22
* No need for this check with our non blocking sockets.Roy Marples2008-05-15
* get_packet 0 means no more buffer, so loops don't need to know the bpf/socket...Roy Marples2008-05-15
* Fix bpf for the correct position on new buffers.Roy Marples2008-05-15
* Only alloc a buffer if size is different.Roy Marples2008-05-15
* Fix some valgrind errors, and work on Linux again.Roy Marples2008-05-15
* Improve get_packet API and memcpy to structure instead of using union pointers.Roy Marples2008-05-15
* Prettify code a little.Roy Marples2008-05-14
* BIOCIMMEDIATE isn't always availableRoy Marples2008-05-14
* Repair whitespace damage.Roy Marples2008-04-26
* We should send packets to a specific IP over the udp socket so we don't broad...Roy Marples2008-04-20
* If _PATH_BPF is set, open that instead of searching for a free BPF device.Roy Marples2008-04-17
* Normally I hate massive code drops, but heh.Roy Marples2008-04-11
* read(2) works on ssize_t so we should use this rather than size_t for our buf...Roy Marples2008-03-31
* Pointless looping in bpf.packet, as pointed out by D. Young.Roy Marples2008-03-30
* Rework our error handling code a little to save ~5k on x86_64Roy Marples2008-03-29
* Fix compile on BSD.Roy Marples2008-03-24