diff options
author | Matthew Smith <mgsmith@netgate.com> | 2019-07-12 11:48:24 -0500 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-09-04 15:46:57 +0000 |
commit | fa20d4c5375c02f61e565b5fc57c490145bc0919 (patch) | |
tree | 23f018d227602bc9e482423f41ed0c75eaf3b76b /src/vnet/ethernet/p2p_ethernet_api.c | |
parent | 87f0dc7377311a75e906233b398af89d41b72f15 (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>
Diffstat (limited to 'src/vnet/ethernet/p2p_ethernet_api.c')
0 files changed, 0 insertions, 0 deletions