spelling; from weerd

This commit is contained in:
Florian Obser 2023-02-21 13:17:22 +01:00
parent 3c87297ae7
commit 024073d10e

View File

@ -630,9 +630,9 @@ performed.
For the other three, the /frontend/ process sends a piece of data that For the other three, the /frontend/ process sends a piece of data that
influences how the action is performed. The piece of data has a fixed, influences how the action is performed. The piece of data has a fixed,
known at compile time, length. For example =IMSG_OPEN_BPFSOCK= is send known at compile time, length. For example =IMSG_OPEN_BPFSOCK= is sent
by the /frontend/ process when it learns of a new network interface by the /frontend/ process when it learns of a new network interface
gaining the /autoconf/ flag. It needs a new bpf(4) socket to send an gaining the /autoconf/ flag. It needs a new bpf(4) socket to send and
receive DHCP messages on that interface[fn::bpf(4) sockets are bound receive DHCP messages on that interface[fn::bpf(4) sockets are bound
to a specific interface and then locked, meaning the /frontend/ to a specific interface and then locked, meaning the /frontend/
process will not be able to change anything about the socket. That process will not be able to change anything about the socket. That
@ -649,7 +649,7 @@ interface in the system. If it sends something else, we assume the
#+end_src #+end_src
We are using the same pattern of checking the data size for all the We are using the same pattern of checking the data size for all the
other message types send from the /frontend/ process. The same is true other message types send from the /frontend/ process. The same is true
for how [[https://github.com/openbsd/src/blob/3c46ceeaef274bbef234dac63245c4b6567168d7/sbin/dhcpleased/dhcpleased.c#L514][main_dispatch_engine()]] handles the messages send by the for how [[https://github.com/openbsd/src/blob/3c46ceeaef274bbef234dac63245c4b6567168d7/sbin/dhcpleased/dhcpleased.c#L514][main_dispatch_engine()]] handles the messages sent by the
/engine/ process. /engine/ process.
The /frontend/ process sends the =IMSG_OPEN_BPFSOCK= message using The /frontend/ process sends the =IMSG_OPEN_BPFSOCK= message using