summaryrefslogtreecommitdiff
path: root/mausezahn/.gitignore
diff options
context:
space:
mode:
Diffstat (limited to 'mausezahn/.gitignore')
0 files changed, 0 insertions, 0 deletions
fe3faf86757eb7f078ff06b23b206f17dc4fb36'>include parentebc05ba7e8600b52a2a0c87a43105143368aca2a (diff)
tap: Abstract type of virtual interface from tap implementation
macvlan object is re-structured to hold tap related elements in a separate entity, tap_dev. Upon NETDEV_REGISTER device_event, tap_dev is registered with idr and fetched again on tap_open. Few of the tap functions are modified to accepted tap_dev as argument. tap_dev object includes callbacks to be used by underlying virtual interface to take care of tx and rx accounting. Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/if_tap.h57
1 files changed, 53 insertions, 4 deletions
diff --git a/include/linux/if_tap.h b/include/linux/if_tap.h