Lines Matching refs:bearer

677 				struct tipc_bearer *bearer, int nlflags)  in __tipc_nl_add_bearer()  argument
692 if (nla_put_string(msg->skb, TIPC_NLA_BEARER_NAME, bearer->name)) in __tipc_nl_add_bearer()
698 if (nla_put_u32(msg->skb, TIPC_NLA_PROP_PRIO, bearer->priority)) in __tipc_nl_add_bearer()
700 if (nla_put_u32(msg->skb, TIPC_NLA_PROP_TOL, bearer->tolerance)) in __tipc_nl_add_bearer()
702 if (nla_put_u32(msg->skb, TIPC_NLA_PROP_WIN, bearer->window)) in __tipc_nl_add_bearer()
704 if (bearer->media->type_id == TIPC_MEDIA_TYPE_UDP) in __tipc_nl_add_bearer()
705 if (nla_put_u32(msg->skb, TIPC_NLA_PROP_MTU, bearer->mtu)) in __tipc_nl_add_bearer()
711 if (bearer->media->type_id == TIPC_MEDIA_TYPE_UDP) { in __tipc_nl_add_bearer()
712 if (tipc_udp_nl_add_bearer_data(msg, bearer)) in __tipc_nl_add_bearer()
736 struct tipc_bearer *bearer; in tipc_nl_bearer_dump() local
750 bearer = rtnl_dereference(tn->bearer_list[i]); in tipc_nl_bearer_dump()
751 if (!bearer) in tipc_nl_bearer_dump()
754 err = __tipc_nl_add_bearer(&msg, bearer, NLM_F_MULTI); in tipc_nl_bearer_dump()
769 struct tipc_bearer *bearer; in tipc_nl_bearer_get() local
796 bearer = tipc_bearer_find(net, name); in tipc_nl_bearer_get()
797 if (!bearer) { in tipc_nl_bearer_get()
802 err = __tipc_nl_add_bearer(&msg, bearer, 0); in tipc_nl_bearer_get()
819 struct tipc_bearer *bearer; in __tipc_nl_bearer_disable() local
837 bearer = tipc_bearer_find(net, name); in __tipc_nl_bearer_disable()
838 if (!bearer) in __tipc_nl_bearer_disable()
841 bearer_disable(net, bearer); in __tipc_nl_bearer_disable()
860 char *bearer; in __tipc_nl_bearer_enable() local
880 bearer = nla_data(attrs[TIPC_NLA_BEARER_NAME]); in __tipc_nl_bearer_enable()
897 return tipc_enable_bearer(net, bearer, domain, prio, attrs); in __tipc_nl_bearer_enable()