diff options
author | Matthew Smith <mgsmith@netgate.com> | 2019-07-12 11:48:24 -0500 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2019-09-29 13:08:40 +0000 |
commit | fe005b404585ec34a15868e84e2cea4fe780eab5 (patch) | |
tree | a5070db3d32ffdf90f9482201426165b58de4a47 /src/vnet/ip/ip4_forward.c | |
parent | bc5f2bcc2c186983aabc020d0cb1158dee36a549 (diff) |
ethernet: move dmac filtering to inline function
In eth_input_process_frame(), destination MAC addresses are
compared to the interface hardware address in a loop. Move
this to a separate inline function to facilitate making changes
to the filtering logic more cleanly.
Type: refactor
Change-Id: I0978f01667e78af5214dbbc9ba223f5b84ce6b7e
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
(cherry picked from commit fa20d4c5375c02f61e565b5fc57c490145bc0919)
Diffstat (limited to 'src/vnet/ip/ip4_forward.c')
0 files changed, 0 insertions, 0 deletions