tipc: add ip/udp media type
The ip/udp bearer can be configured in a point-to-point mode by specifying both local and remote ip/hostname, or it can be enabled in multicast mode, where links are established to all tipc nodes that have joined the same multicast group. The multicast IP address is generated based on the TIPC network ID, but can be overridden by using another multicast address as remote ip. Signed-off-by: Erik Hugne <erik.hugne@ericsson.com> Reviewed-by: Jon Maloy <jon.maloy@ericsson.com> Reviewed-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
948fa2d115
commit
d0f91938be
@@ -83,11 +83,20 @@ enum {
|
||||
TIPC_NLA_BEARER_NAME, /* string */
|
||||
TIPC_NLA_BEARER_PROP, /* nest */
|
||||
TIPC_NLA_BEARER_DOMAIN, /* u32 */
|
||||
TIPC_NLA_BEARER_UDP_OPTS, /* nest */
|
||||
|
||||
__TIPC_NLA_BEARER_MAX,
|
||||
TIPC_NLA_BEARER_MAX = __TIPC_NLA_BEARER_MAX - 1
|
||||
};
|
||||
|
||||
enum {
|
||||
TIPC_NLA_UDP_UNSPEC,
|
||||
TIPC_NLA_UDP_LOCAL, /* sockaddr_storage */
|
||||
TIPC_NLA_UDP_REMOTE, /* sockaddr_storage */
|
||||
|
||||
__TIPC_NLA_UDP_MAX,
|
||||
TIPC_NLA_UDP_MAX = __TIPC_NLA_UDP_MAX - 1
|
||||
};
|
||||
/* Socket info */
|
||||
enum {
|
||||
TIPC_NLA_SOCK_UNSPEC,
|
||||
|
Reference in New Issue
Block a user