| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Replace the /dev/bpf* open loop with a plain open("/dev/bpf0", ...). | 2016-05-28 | 1 | -20/+7 | |
| | | | | | ok deraadt jca | ||||
| * | Eliminate #include inside *.h files and include only needed headers in | 2016-02-06 | 1 | -5/+19 | |
| | | | | | | | | each *.c file. Inspired by mention of header silliness by Edgar Pettijohn and mmcc@ on tech@. | ||||
| * | Remove unnecessary netinet/in_systm.h include. | 2014-10-25 | 1 | -2/+1 | |
| | | | | | ok millert@ | ||||
| * | Add -u option to bind UDP port as a socket to answer DHCPINFORM from | 2014-07-11 | 1 | -1/+5 | |
| | | | | | | | | the clients on non ethernet interfaces (eg. tun(4) or pppx(4)). input krw ok krw | ||||
| * | send_packet() and writev() return ssize_t, not int. Use correct | 2013-04-05 | 1 | -2/+3 | |
| | | | | | type to store the returned value. From dhill. | ||||
| * | Remove unused (a.k.a. always passed NULL) parameter 'data' from | 2013-02-03 | 1 | -2/+2 | |
| | | | | | | decode_udp_ip_header() and the useless check of it. Part of original diff from pelikan about udp length errors. | ||||
| * | Just like dhclient(8), we use the bpf filter drop to prevent | 2009-12-14 | 1 | -1/+4 | |
| | | | | | | us from sending an icmp error along with the dhcp reply. OK henning@ | ||||
| * | When checking if a syscall like open(), ioctl() or writev() failed compare | 2008-09-15 | 1 | -11/+11 | |
| | | | | | directly against -1 and do not use a < 0 test. OK henning@ | ||||
| * | Fix erroneous use of '=' instead of '+' that caused infinite loops | 2005-07-29 | 1 | -7/+13 | |
| | | | | | | | | when skipping packets. Use BPF_WORDALIGN() to properly skip packets. From Brooks Davis at FreeBSD. ok deraadt@ henning@ | ||||
| * | avoid aliasing with libc functions; ok henning | 2004-09-16 | 1 | -2/+2 | |
| | | |||||
| * | remove things not used, spotted by lint mostly; ok henning | 2004-05-04 | 1 | -4/+4 | |
| | | |||||
| * | filter writes and lock bpf descriptor, ok henning@ | 2004-04-21 | 1 | -14/+58 | |
| | | |||||
| * | dhcpd actually does not listen on port 68 ... | 2004-04-15 | 1 | -2/+2 | |
| | | |||||
| * | may the whacking begin | 2004-04-13 | 1 | -0/+321 | |
