ipvtap: IP-VLAN based tap driver
This patch adds a tap character device driver that is based on the IP-VLAN network interface, called ipvtap. An ipvtap device can be created in the same way as an ipvlan device, using 'type ipvtap', and then accessed using the tap user space interface. Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
9a393b5d59
commit
235a9d89da
@ -16,7 +16,7 @@ void ipvlan_init_secret(void)
|
||||
net_get_random_once(&ipvlan_jhash_secret, sizeof(ipvlan_jhash_secret));
|
||||
}
|
||||
|
||||
static void ipvlan_count_rx(const struct ipvl_dev *ipvlan,
|
||||
void ipvlan_count_rx(const struct ipvl_dev *ipvlan,
|
||||
unsigned int len, bool success, bool mcast)
|
||||
{
|
||||
if (likely(success)) {
|
||||
@ -33,6 +33,7 @@ static void ipvlan_count_rx(const struct ipvl_dev *ipvlan,
|
||||
this_cpu_inc(ipvlan->pcpu_stats->rx_errs);
|
||||
}
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(ipvlan_count_rx);
|
||||
|
||||
static u8 ipvlan_get_v6_hash(const void *iaddr)
|
||||
{
|
||||
|
Reference in New Issue
Block a user