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