tipc: add media set to new netlink api
Add TIPC_NL_MEDIA_SET command to the new tipc netlink API. This command can set one or more link properties for a particular media. Netlink logical layout of bearer set message: -> media -> name -> link properties [ -> tolerance ] [ -> priority ] [ -> window ] Signed-off-by: Richard Alpe <richard.alpe@ericsson.com> Reviewed-by: Erik Hugne <erik.hugne@ericsson.com> Reviewed-by: Jon Maloy <jon.maloy@ericsson.com> Acked-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
46f15c6794
commit
1e55417d8f
@@ -186,6 +186,7 @@ int tipc_nl_bearer_set(struct sk_buff *skb, struct genl_info *info);
|
||||
|
||||
int tipc_nl_media_dump(struct sk_buff *skb, struct netlink_callback *cb);
|
||||
int tipc_nl_media_get(struct sk_buff *skb, struct genl_info *info);
|
||||
int tipc_nl_media_set(struct sk_buff *skb, struct genl_info *info);
|
||||
|
||||
int tipc_media_set_priority(const char *name, u32 new_value);
|
||||
int tipc_media_set_window(const char *name, u32 new_value);
|
||||
|
Reference in New Issue
Block a user