Lines Matching refs:bearer

793 				struct tipc_bearer *bearer, int nlflags)  in __tipc_nl_add_bearer()  argument
808 if (nla_put_string(msg->skb, TIPC_NLA_BEARER_NAME, bearer->name)) in __tipc_nl_add_bearer()
814 if (nla_put_u32(msg->skb, TIPC_NLA_PROP_PRIO, bearer->priority)) in __tipc_nl_add_bearer()
816 if (nla_put_u32(msg->skb, TIPC_NLA_PROP_TOL, bearer->tolerance)) in __tipc_nl_add_bearer()
818 if (nla_put_u32(msg->skb, TIPC_NLA_PROP_WIN, bearer->max_win)) in __tipc_nl_add_bearer()
820 if (bearer->media->type_id == TIPC_MEDIA_TYPE_UDP) in __tipc_nl_add_bearer()
821 if (nla_put_u32(msg->skb, TIPC_NLA_PROP_MTU, bearer->mtu)) in __tipc_nl_add_bearer()
827 if (bearer->media->type_id == TIPC_MEDIA_TYPE_UDP) { in __tipc_nl_add_bearer()
828 if (tipc_udp_nl_add_bearer_data(msg, bearer)) in __tipc_nl_add_bearer()
852 struct tipc_bearer *bearer; in tipc_nl_bearer_dump() local
866 bearer = rtnl_dereference(tn->bearer_list[i]); in tipc_nl_bearer_dump()
867 if (!bearer) in tipc_nl_bearer_dump()
870 err = __tipc_nl_add_bearer(&msg, bearer, NLM_F_MULTI); in tipc_nl_bearer_dump()
885 struct tipc_bearer *bearer; in tipc_nl_bearer_get() local
912 bearer = tipc_bearer_find(net, name); in tipc_nl_bearer_get()
913 if (!bearer) { in tipc_nl_bearer_get()
919 err = __tipc_nl_add_bearer(&msg, bearer, 0); in tipc_nl_bearer_get()
936 struct tipc_bearer *bearer; in __tipc_nl_bearer_disable() local
954 bearer = tipc_bearer_find(net, name); in __tipc_nl_bearer_disable()
955 if (!bearer) { in __tipc_nl_bearer_disable()
960 bearer_disable(net, bearer); in __tipc_nl_bearer_disable()
979 char *bearer; in __tipc_nl_bearer_enable() local
999 bearer = nla_data(attrs[TIPC_NLA_BEARER_NAME]); in __tipc_nl_bearer_enable()
1016 return tipc_enable_bearer(net, bearer, domain, prio, attrs, in __tipc_nl_bearer_enable()