network-address-resolution-protocol 0.1.2

A domain model of Address Resolution Protocol (ARP) packets and associated types.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// This file is part of network. It is subject to the license terms in the COPYRIGHT file found in the top-level directory of this distribution and at https://raw.githubusercontent.com/lemonrock/network/master/COPYRIGHT. No part of network, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the COPYRIGHT file.
// Copyright © 2017 The developers of network. See the COPYRIGHT file in the top-level directory of this distribution and at https://raw.githubusercontent.com/lemonrock/network/master/COPYRIGHT.


macro_rules! drop
{
	($now: ident, $reason: expr, $ethernet_addresses: ident, $packet_processing: expr, $packet: ident) =>
	{
		{
			$packet_processing.drop($now, $reason, $ethernet_addresses, $packet);
			return
		}
	}
}