index
:
src
cvs/HEAD
kms/intel
kms/radeon
master
OpenBSD base system
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
sbin
/
dhclient
/
bpf.c
Age
Commit message (
Expand
)
Author
2019-03-18
explicitly use BPF_FILDROP_CAPTURE when configuring BIOCSFILDROP
David Gwynne
2019-01-05
Simplify and clarify (i.e. shrink) code processing
Kenneth R Westerback
2018-12-27
Rename ufdesc to udpfd to make the code slightly more intuitive.
Kenneth R Westerback
2018-12-27
Rename bfdesc to bpffd and packethandler() to bpffd_handler() to make
Kenneth R Westerback
2018-12-08
ssize_t and unsigned int may be different sizes. Use ssize_t instead
Kenneth R Westerback
2018-07-04
Print the amount of bytes written, as intended, instead of -1 when
Martin Pieuchot
2017-09-20
Make log messages more informative by using the
Kenneth R Westerback
2017-09-20
Make send_packet() log entries more informative by
Kenneth R Westerback
2017-09-20
Nuke a few extraneous blanks.
Kenneth R Westerback
2017-09-19
Make send_packet() usage consistent. i.e. don't exit
Kenneth R Westerback
2017-09-17
Create global 'log_procname' and set it to '<ifname>' or
Kenneth R Westerback
2017-09-14
Strive to rationalize fatal[x]() usage and
Kenneth R Westerback
2017-07-24
Tweak some comments
Kenneth R Westerback
2017-07-14
"ioctl() < 0" ==> "ioctl() == -1" as god and guenther@
Kenneth R Westerback
2017-07-14
Replace remaining "!var" expressions with
Kenneth R Westerback
2017-07-10
Take some of the mystery out of who does what by
Kenneth R Westerback
2017-07-10
Use a modern spacious idiom on all function local variable
Kenneth R Westerback
2017-07-09
Be consistent. "return (e);" -> "return e;"
Kenneth R Westerback
2017-07-08
Always use uintNN_t instead of sometimes u_intNN_t
Kenneth R Westerback
2017-07-07
assemble_eh_header() needs only to know about hw_addr.
Kenneth R Westerback
2017-07-03
sizeof(struct sockaddr_in) != sizeof(struct in_addr).
Kenneth R Westerback
2017-06-27
Make if_register_bpf() the same as the other if_register_*() functions
Kenneth R Westerback
2017-06-19
Various KNF nits.
Kenneth R Westerback
2017-06-14
Start consolidating client_state into interface_info. First
Kenneth R Westerback
2017-06-13
Rename 'packet' field to 'recv_packet' and 'bootrequest_packet'
Kenneth R Westerback
2017-04-19
Switch base tools from /dev/bpf0 to /dev/bpf. Now that /dev/bpf has been
Martin Natano
2017-04-18
Tweak parameters to decode_*, add a check or two, and thus gain most of the
Kenneth R Westerback
2017-04-18
After 11 years of pondering about it I think that brookdavis@freebsd.org
Kenneth R Westerback
2017-02-12
Eliminate most strerror() invocations by using log_warn() and fatal()
Kenneth R Westerback
2017-02-12
Adjust lines that are too long.
Kenneth R Westerback
2017-02-12
Switch from 'legacy' errwarn.c to standard daemon logging functions.
Kenneth R Westerback
2016-08-31
Remove the 'client' global and make it per-ifp.
Martin Pieuchot
2016-08-23
Make the 'ifi' global local to dhclient.c and pass it as an argument to
Martin Pieuchot
2016-07-23
Back out the dhclient BPF change. There are DHCP servers out there which
Stefan Sperling
2016-07-19
Narrow the BPF read filter rules so only packets sent to the
Kenneth R Westerback
2016-05-08
Use /dev/bpf0 instead of /dev/bpf (without loop though), as suggested by
Martin Natano
2016-05-03
Move to /dev/bpf; ok tb jmc
Martin Natano
2016-02-06
Eliminate #include inside *.h files and include only needed headers in
Kenneth R Westerback
2014-12-03
Correct comment to state that the BPF program is patched in
Kenneth R Westerback
2014-11-23
Cleanup some struct interface_info fields. Make 'nomedia' a flag. Replace
Kenneth R Westerback
2014-11-08
Use open(O_CLOEXEC) rather than open() + fcntl(FD_CLOEXEC). Inspired
Kenneth R Westerback
2014-11-08
Exhort user to recompile 'dhclient', not 'dhcpd', when bpf versions are
Kenneth R Westerback
2014-10-25
Remove unnecessary netinet/in_systm.h include.
Lawrence Teo
2014-04-17
Eliminate a couple of always-NULL parameters. Eliminate some
Kenneth R Westerback
2013-12-12
Assemble outgoing packets using iovec to combine the (optional)
Kenneth R Westerback
2013-12-06
Having stopped pretending we handle anything but ethernet packets,
Kenneth R Westerback
2013-11-11
Shuffle function prototypes and extern declarations around to
Kenneth R Westerback
2013-05-02
Bunch of comment/whitespace cleanup. Eliminate some misleading or
Kenneth R Westerback
2013-04-05
send_packet() and writev() return ssize_t, not int. Use correct
Kenneth R Westerback
2013-02-14
Don't rely on the packet buffer (client->packet) being preserved between
Kenneth R Westerback
[next]