Systemd/src/libsystemd/sd-netlink
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
..
generic-netlink.c tree-wide: drop double newline 2019-11-04 00:30:32 +09:00
generic-netlink.h sd-netlink: constify object pointers passed to getters 2019-10-24 11:48:08 +02:00
netlink-internal.h sd-netlink: remove unused RTNL_WQUEUE_MAX define 2020-05-14 22:27:03 +02:00
netlink-message.c netlink: Fix assert condition on n_containers 2020-05-13 22:56:42 +02:00
netlink-slot.c sd-netlink: constify object pointers passed to getters 2019-10-24 11:48:08 +02:00
netlink-slot.h sd-netlink: set destroy_callback only if asynchronous call succeeds 2018-12-14 08:50:51 +01:00
netlink-socket.c networkd: clean up NETLINK_PKTINFO vs. SO_PASSCRED confusion 2020-05-27 22:40:56 +02:00
netlink-types.c network: add support for MACVLAN source mode 2020-07-08 18:01:52 +02:00
netlink-types.h sd-netlink: add netlink properties of Enhanced Transmission Selection (ETS) 2020-06-19 00:47:55 +09:00
netlink-util.c network: make Type=ether match based on iftype 2020-03-02 08:52:18 +01:00
netlink-util.h Merge pull request #14890 from yuwata/network-tc-next 2020-03-07 01:44:15 +09:00
rtnl-message.c sd-netlink: introduce sd_rtnl_message_new_tclass() and friends 2020-03-02 15:46:28 +09:00
sd-netlink.c tree-wide: port to fd_wait_for_event() 2020-06-10 20:06:10 +02:00
test-netlink.c tree-wide: Initialize _cleanup_ variables if needed 2020-05-13 22:56:42 +02:00