1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
3 * Copyright (c) 2021 Taehee Yoo <ap420073@gmail.com>
9 /* AMT interface works as Gateway mode.
10 * The Gateway mode encapsulates IGMP/MLD traffic and decapsulates
14 /* AMT interface works as Relay mode.
15 * The Relay mode encapsulates multicast traffic and decapsulates
22 #define AMT_MODE_MAX (__AMT_MODE_MAX - 1)
26 /* This attribute specify mode etier Gateway or Relay. */
28 /* This attribute specify Relay port.
29 * AMT interface is created as Gateway mode, this attribute is used
30 * to specify relay(remote) port.
31 * AMT interface is created as Relay mode, this attribute is used
35 /* This attribute specify Gateway port.
36 * AMT interface is created as Gateway mode, this attribute is used
38 * AMT interface is created as Relay mode, this attribute is not used.
40 IFLA_AMT_GATEWAY_PORT
,
41 /* This attribute specify physical device */
43 /* This attribute specify local ip address */
45 /* This attribute specify Relay ip address.
46 * So, this is not used by Relay.
49 /* This attribute specify Discovery ip address.
50 * When Gateway get started, it send discovery message to find the
52 * So, this is not used by Relay.
54 IFLA_AMT_DISCOVERY_IP
,
55 /* This attribute specify number of maximum tunnel. */
60 #define IFLA_AMT_MAX (__IFLA_AMT_MAX - 1)
62 #endif /* _UAPI_AMT_H_ */