Home
last modified time | relevance | path

Searched refs:bearer_id (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/net/tipc/
Dmonitor.h60 int tipc_mon_create(struct net *net, int bearer_id);
61 void tipc_mon_delete(struct net *net, int bearer_id);
63 void tipc_mon_peer_up(struct net *net, u32 addr, int bearer_id);
64 void tipc_mon_peer_down(struct net *net, u32 addr, int bearer_id);
66 struct tipc_mon_state *state, int bearer_id);
68 struct tipc_mon_state *state, int bearer_id);
71 int bearer_id);
72 void tipc_mon_remove_peer(struct net *net, u32 addr, int bearer_id);
77 u32 bearer_id);
79 u32 bearer_id, u32 *prev_node);
Dmonitor.c100 static struct tipc_monitor *tipc_monitor(struct net *net, int bearer_id) in tipc_monitor() argument
102 return tipc_net(net)->monitors[bearer_id]; in tipc_monitor()
165 static struct tipc_peer *get_self(struct net *net, int bearer_id) in get_self() argument
167 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); in get_self()
322 void tipc_mon_remove_peer(struct net *net, u32 addr, int bearer_id) in tipc_mon_remove_peer() argument
324 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); in tipc_mon_remove_peer()
331 self = get_self(net, bearer_id); in tipc_mon_remove_peer()
392 void tipc_mon_peer_up(struct net *net, u32 addr, int bearer_id) in tipc_mon_peer_up() argument
394 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); in tipc_mon_peer_up()
395 struct tipc_peer *self = get_self(net, bearer_id); in tipc_mon_peer_up()
[all …]
Dnode.c167 static void __tipc_node_link_down(struct tipc_node *n, int *bearer_id,
170 static void tipc_node_link_down(struct tipc_node *n, int bearer_id,
190 int bearer_id = n->active_links[sel & 1]; in node_active_link() local
192 if (unlikely(bearer_id == INVALID_BEARER_ID)) in node_active_link()
195 return n->links[bearer_id].link; in node_active_link()
201 int bearer_id; in tipc_node_get_mtu() local
216 bearer_id = n->active_links[sel & 1]; in tipc_node_get_mtu()
217 if (likely(bearer_id != INVALID_BEARER_ID)) in tipc_node_get_mtu()
218 mtu = n->links[bearer_id].mtu; in tipc_node_get_mtu()
390 u32 bearer_id; in tipc_node_write_unlock() local
[all …]
Dbearer.h222 void tipc_bearer_add_dest(struct net *net, u32 bearer_id, u32 dest);
223 void tipc_bearer_remove_dest(struct net *net, u32 bearer_id, u32 dest);
225 int tipc_bearer_get_name(struct net *net, char *name, u32 bearer_id);
230 int tipc_bearer_mtu(struct net *net, u32 bearer_id);
231 bool tipc_bearer_bcast_support(struct net *net, u32 bearer_id);
232 void tipc_bearer_xmit_skb(struct net *net, u32 bearer_id,
235 void tipc_bearer_xmit(struct net *net, u32 bearer_id,
239 void tipc_bearer_bc_xmit(struct net *net, u32 bearer_id,
Dbearer.c62 static struct tipc_bearer *bearer_get(struct net *net, int bearer_id) in bearer_get() argument
66 return rcu_dereference(tn->bearer_list[bearer_id]); in bearer_get()
192 int tipc_bearer_get_name(struct net *net, char *name, u32 bearer_id) in tipc_bearer_get_name() argument
197 if (bearer_id >= MAX_BEARERS) in tipc_bearer_get_name()
200 b = rtnl_dereference(tn->bearer_list[bearer_id]); in tipc_bearer_get_name()
208 void tipc_bearer_add_dest(struct net *net, u32 bearer_id, u32 dest) in tipc_bearer_add_dest() argument
214 b = rcu_dereference(tn->bearer_list[bearer_id]); in tipc_bearer_add_dest()
220 void tipc_bearer_remove_dest(struct net *net, u32 bearer_id, u32 dest) in tipc_bearer_remove_dest() argument
226 b = rcu_dereference(tn->bearer_list[bearer_id]); in tipc_bearer_remove_dest()
246 int bearer_id = 0; in tipc_enable_bearer() local
[all …]
Dbcast.c147 void tipc_bcast_inc_bearer_dst_cnt(struct net *net, int bearer_id) in tipc_bcast_inc_bearer_dst_cnt() argument
152 bb->dests[bearer_id]++; in tipc_bcast_inc_bearer_dst_cnt()
157 void tipc_bcast_dec_bearer_dst_cnt(struct net *net, int bearer_id) in tipc_bcast_dec_bearer_dst_cnt() argument
162 bb->dests[bearer_id]--; in tipc_bcast_dec_bearer_dst_cnt()
179 int bearer_id; in tipc_bcbase_xmit() local
188 bearer_id = bb->primary_bearer; in tipc_bcbase_xmit()
189 if (bearer_id >= 0) { in tipc_bcbase_xmit()
190 tipc_bearer_bc_xmit(net, bearer_id, xmitq); in tipc_bcbase_xmit()
196 for (bearer_id = 0; bearer_id < MAX_BEARERS; bearer_id++) { in tipc_bcbase_xmit()
197 if (!bb->dests[bearer_id]) in tipc_bcbase_xmit()
[all …]
Ddiscover.c63 u32 bearer_id; member
296 u32 bearer_id; in tipc_disc_timeout() local
330 bearer_id = d->bearer_id; in tipc_disc_timeout()
334 tipc_bearer_xmit_skb(net, bearer_id, skb, &maddr); in tipc_disc_timeout()
369 d->bearer_id = b->identity; in tipc_disc_create()
406 d->bearer_id = b->identity; in tipc_disc_reset()
Dbcast.h86 void tipc_bcast_inc_bearer_dst_cnt(struct net *net, int bearer_id);
87 void tipc_bcast_dec_bearer_dst_cnt(struct net *net, int bearer_id);
Dnode.h97 void tipc_node_delete_links(struct net *net, int bearer_id);
99 int tipc_node_get_linkname(struct net *net, u32 bearer_id, u32 node,
Dlink.h74 bool tipc_link_create(struct net *net, char *if_name, int bearer_id,
Dlink.c135 u32 bearer_id; member
314 return l->peer_bearer_id << 16 | l->bearer_id; in tipc_link_id()
464 bool tipc_link_create(struct net *net, char *if_name, int bearer_id, in tipc_link_create() argument
502 l->bearer_id = bearer_id; in tipc_link_create()
819 tipc_mon_get_state(l->net, l->addr, mstate, l->bearer_id); in tipc_link_timeout()
1849 msg_set_bearer_id(hdr, l->bearer_id); in tipc_link_build_proto_msg()
1872 tipc_mon_prep(l->net, data + glen, &dlen, mstate, l->bearer_id); in tipc_link_build_proto_msg()
2278 &l->mon_state, l->bearer_id); in tipc_link_proto_rcv()
Dsocket.c3304 lnr.bearer_id & 0xffff, lnr.peer, in tipc_ioctl()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dtipc.h133 __u32 bearer_id; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dtipc.h118 __u32 bearer_id; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dtipc.h227 __u32 bearer_id; member