ipvlan: Initial check-in of the IPVLAN driver.
This driver is very similar to the macvlan driver except that it uses L3 on the frame to determine the logical interface while functioning as packet dispatcher. It inherits L2 of the master device hence the packets on wire will have the same L2 for all the packets originating from all virtual devices off of the same master device. This driver was developed keeping the namespace use-case in mind. Hence most of the examples given here take that as the base setup where main-device belongs to the default-ns and virtual devices are assigned to the additional namespaces. The device operates in two different modes and the difference in these two modes in primarily in the TX side. (a) L2 mode : In this mode, the device behaves as a L2 device. TX processing upto L2 happens on the stack of the virtual device associated with (namespace). Packets are switched after that into the main device (default-ns) and queued for xmit. RX processing is simple and all multicast, ...
Showing
- Documentation/networking/ipvlan.txt 107 additions, 0 deletionsDocumentation/networking/ipvlan.txt
- drivers/net/Kconfig 18 additions, 0 deletionsdrivers/net/Kconfig
- drivers/net/Makefile 1 addition, 0 deletionsdrivers/net/Makefile
- drivers/net/ipvlan/Makefile 7 additions, 0 deletionsdrivers/net/ipvlan/Makefile
- drivers/net/ipvlan/ipvlan.h 130 additions, 0 deletionsdrivers/net/ipvlan/ipvlan.h
- drivers/net/ipvlan/ipvlan_core.c 607 additions, 0 deletionsdrivers/net/ipvlan/ipvlan_core.c
- drivers/net/ipvlan/ipvlan_main.c 789 additions, 0 deletionsdrivers/net/ipvlan/ipvlan_main.c
- include/linux/netdevice.h 4 additions, 0 deletionsinclude/linux/netdevice.h
- include/uapi/linux/if_link.h 15 additions, 0 deletionsinclude/uapi/linux/if_link.h
Documentation/networking/ipvlan.txt
0 → 100644
drivers/net/ipvlan/Makefile
0 → 100644
drivers/net/ipvlan/ipvlan.h
0 → 100644
drivers/net/ipvlan/ipvlan_core.c
0 → 100644
drivers/net/ipvlan/ipvlan_main.c
0 → 100644
This diff is collapsed.
Please register or sign in to comment