Home
last modified time | relevance | path

Searched refs:bearer (Results 1 – 5 of 5) sorted by relevance

/linux/net/tipc/
H A Dbearer.c824 struct tipc_bearer *bearer, int nlflags) in __tipc_nl_add_bearer() argument
839 if (nla_put_string(msg->skb, TIPC_NLA_BEARER_NAME, bearer->name)) in __tipc_nl_add_bearer()
845 if (nla_put_u32(msg->skb, TIPC_NLA_PROP_PRIO, bearer->priority)) in __tipc_nl_add_bearer()
847 if (nla_put_u32(msg->skb, TIPC_NLA_PROP_TOL, bearer->tolerance)) in __tipc_nl_add_bearer()
849 if (nla_put_u32(msg->skb, TIPC_NLA_PROP_WIN, bearer->max_win)) in __tipc_nl_add_bearer()
851 if (bearer->media->type_id == TIPC_MEDIA_TYPE_UDP) in __tipc_nl_add_bearer()
852 if (nla_put_u32(msg->skb, TIPC_NLA_PROP_MTU, bearer->mtu)) in __tipc_nl_add_bearer()
858 if (bearer->media->type_id == TIPC_MEDIA_TYPE_UDP) { in __tipc_nl_add_bearer()
859 if (tipc_udp_nl_add_bearer_data(msg, bearer)) in __tipc_nl_add_bearer()
883 struct tipc_bearer *bearer; in tipc_nl_bearer_dump() local
[all …]
H A Dnetlink_compat.c408 struct nlattr *bearer[TIPC_NLA_BEARER_MAX + 1]; in tipc_nl_compat_bearer_dump() local
414 err = nla_parse_nested_deprecated(bearer, TIPC_NLA_BEARER_MAX, in tipc_nl_compat_bearer_dump()
420 nla_data(bearer[TIPC_NLA_BEARER_NAME]), in tipc_nl_compat_bearer_dump()
421 nla_len(bearer[TIPC_NLA_BEARER_NAME])); in tipc_nl_compat_bearer_dump()
429 struct nlattr *bearer; in tipc_nl_compat_bearer_enable() local
435 bearer = nla_nest_start_noflag(skb, TIPC_NLA_BEARER); in tipc_nl_compat_bearer_enable()
436 if (!bearer) in tipc_nl_compat_bearer_enable()
462 nla_nest_end(skb, bearer); in tipc_nl_compat_bearer_enable()
472 struct nlattr *bearer; in tipc_nl_compat_bearer_disable() local
477 bearer = nla_nest_start_noflag(skb, TIPC_NLA_BEARER); in tipc_nl_compat_bearer_disable()
[all …]
H A DMakefile8 tipc-y += addr.o bcast.o bearer.o \
H A Dudp_media.c99 struct tipc_bearer __rcu *bearer; member
387 b = rcu_dereference(ub->bearer); in tipc_udp_recv()
727 rcu_assign_pointer(ub->bearer, b); in tipc_udp_enable()
840 RCU_INIT_POINTER(ub->bearer, NULL); in tipc_udp_disable()
H A Dnode.h93 struct tipc_bearer *bearer,