]> git.ipfire.org Git - thirdparty/iproute2.git/commit
tipc: Add support to set and get MTU for UDP bearer
authorGhantaKrishnamurthy MohanKrishna <mohan.krishna.ghanta.krishnamurthy@ericsson.com>
Tue, 8 May 2018 11:55:28 +0000 (13:55 +0200)
committerDavid Ahern <dsahern@gmail.com>
Thu, 10 May 2018 03:53:32 +0000 (20:53 -0700)
commit7d40bdbc8d7aba43e4c416585cd889c169018d58
treeb8b96c752c1520d375e8d7bd2cce30e139c67b79
parentfd95ec0e8edd5dec5debc04212d31904ce4a987e
tipc: Add support to set and get MTU for UDP bearer

In this commit we introduce the ability to set and get
MTU for UDP media and bearer.

For set and get properties such as tolerance, window and priority,
we already do:

    $ tipc media set PPROPERTY media MEDIA
    $ tipc media get PPROPERTY media MEDIA

    $ tipc bearer set OPTION media MEDIA ARGS
    $ tipc bearer get [OPTION] media MEDIA ARGS

The same has been extended for MTU, with an exception to support
only media type UDP.

Acked-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: GhantaKrishnamurthy MohanKrishna <mohan.krishna.ghanta.krishnamurthy@ericsson.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
tipc/bearer.c
tipc/media.c