Systemd/src/network/netdev
Alvin Šipraga 0d0de133f0 network: add support for MACVLAN source mode
Add support for creating a MACVLAN interface in "source" mode by
specifying Mode=source in the [MACVLAN] section of a .netdev file.

A list of allowed MAC addresses for the corresponding MACVLAN can also
be specified with the SourceMACAddress= option of the [MACVLAN] section.

An example .netdev file:

    [NetDev]
    Name=macvlan0
    Kind=macvlan
    MACAddress=02:DE:AD:BE:EF:00

    [MACVLAN]
    Mode=source
    SourceMACAddress=02:AB:AB:AB:AB:01 02:CD:CD:CD:CD:01
    SourceMACAddress=02:EF:EF:EF:EF:01

The same keys can also be specified in [MACVTAP] for MACVTAP kinds of
interfaces, with the same semantics.
2020-07-08 18:01:52 +02:00
..
bond.c networkd: use capitalized "IP" and "TOS" in messages 2020-07-07 12:06:26 +02:00
bond.h network: Introduce bond util 2020-05-17 10:02:03 +02:00
bridge.c network: allow setting VLAN protocol on bridges 2020-05-14 17:59:57 +02:00
bridge.h network: allow setting VLAN protocol on bridges 2020-05-14 17:59:57 +02:00
dummy.c network: warn about unknown sections when parsing .netdev files 2019-11-25 16:45:29 +01:00
dummy.h network: cleanup header inclusion 2019-10-30 22:23:43 +09:00
fou-tunnel.c network: use "FooOverUDP" as one word 2020-04-16 17:23:41 +02:00
fou-tunnel.h network: cleanup header inclusion 2019-10-30 22:23:43 +09:00
geneve.c network: warn about unknown sections when parsing .netdev files 2019-11-25 16:45:29 +01:00
geneve.h network: cleanup header inclusion 2019-10-30 22:23:43 +09:00
ifb.c network: introduce ifb (Intermediate Functional Block) 2019-12-07 15:29:50 +01:00
ifb.h network: introduce ifb (Intermediate Functional Block) 2019-12-07 15:29:50 +01:00
ipvlan.c network: Introduce ipvlan util 2020-05-17 05:34:19 +02:00
ipvlan.h network: Introduce ipvlan util 2020-05-17 05:34:19 +02:00
l2tp-tunnel.c network: L2TP fix crash 2020-05-30 11:59:27 +02:00
l2tp-tunnel.h network: include glibc headers before including kernel headers 2019-05-09 03:21:31 +02:00
macsec.c network: fix double free in macsec_receive_channel_free() 2020-06-01 09:39:46 +02:00
macsec.h network: include glibc headers before including kernel headers 2019-05-09 03:21:31 +02:00
macvlan.c network: add support for MACVLAN source mode 2020-07-08 18:01:52 +02:00
macvlan.h network: add support for MACVLAN source mode 2020-07-08 18:01:52 +02:00
netdev-gperf.gperf network: add support for MACVLAN source mode 2020-07-08 18:01:52 +02:00
netdev.c network: fix typo in comment 2020-06-25 13:43:35 +09:00
netdev.h network: introduce ifb (Intermediate Functional Block) 2019-12-07 15:29:50 +01:00
netdevsim.c network: warn about unknown sections when parsing .netdev files 2019-11-25 16:45:29 +01:00
netdevsim.h network: cleanup header inclusion 2019-10-30 22:23:43 +09:00
nlmon.c network: warn about unknown sections when parsing .netdev files 2019-11-25 16:45:29 +01:00
nlmon.h network: cleanup header inclusion 2019-10-30 22:23:43 +09:00
tunnel.c network: fix implicit type conversion warning by GCC-10 2020-01-29 19:24:12 +01:00
tunnel.h network: cleanup header inclusion 2019-10-30 22:23:43 +09:00
tuntap.c network: warn about unknown sections when parsing .netdev files 2019-11-25 16:45:29 +01:00
tuntap.h network: cleanup header inclusion 2019-10-30 22:23:43 +09:00
vcan.c network: warn about unknown sections when parsing .netdev files 2019-11-25 16:45:29 +01:00
vcan.h network: cleanup header inclusion 2019-10-30 22:23:43 +09:00
veth.c network: append INTERFACE= attributes for logs corresponds to a netif 2020-01-07 22:20:43 +09:00
veth.h network: cleanup header inclusion 2019-10-30 22:23:43 +09:00
vlan.c network: append INTERFACE= attributes for logs corresponds to a netif 2020-01-07 22:20:43 +09:00
vlan.h network: cleanup header inclusion 2019-10-30 22:23:43 +09:00
vrf.c network: warn about unknown sections when parsing .netdev files 2019-11-25 16:45:29 +01:00
vrf.h network: cleanup header inclusion 2019-10-30 22:23:43 +09:00
vxcan.c network: append INTERFACE= attributes for logs corresponds to a netif 2020-01-07 22:20:43 +09:00
vxcan.h network: cleanup header inclusion 2019-10-30 22:23:43 +09:00
vxlan.c network: clean up doubled white space 2020-05-29 14:49:18 +02:00
vxlan.h network: cleanup header inclusion 2019-10-30 22:23:43 +09:00
wireguard.c netdev/wireguard: do not invalidate peer on invalid syntax 2020-06-22 16:32:37 +02:00
wireguard.h network: include glibc headers before including kernel headers 2019-05-09 03:21:31 +02:00
xfrm.c network: warn about unknown sections when parsing .netdev files 2019-11-25 16:45:29 +01:00
xfrm.h network: cleanup header inclusion 2019-10-30 22:23:43 +09:00