/linux-6.1.9/net/tipc/ |
D | monitor.h | 60 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);
|
D | monitor.c | 100 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() 195 static struct tipc_peer *get_self(struct net *net, int bearer_id) in get_self() argument 197 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); in get_self() 352 void tipc_mon_remove_peer(struct net *net, u32 addr, int bearer_id) in tipc_mon_remove_peer() argument 354 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); in tipc_mon_remove_peer() 361 self = get_self(net, bearer_id); in tipc_mon_remove_peer() 422 void tipc_mon_peer_up(struct net *net, u32 addr, int bearer_id) in tipc_mon_peer_up() argument 424 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); in tipc_mon_peer_up() 425 struct tipc_peer *self = get_self(net, bearer_id); in tipc_mon_peer_up() [all …]
|
D | node.c | 176 static void __tipc_node_link_down(struct tipc_node *n, int *bearer_id, 179 static void tipc_node_link_down(struct tipc_node *n, int bearer_id, 199 int bearer_id = n->active_links[sel & 1]; in node_active_link() local 201 if (unlikely(bearer_id == INVALID_BEARER_ID)) in node_active_link() 204 return n->links[bearer_id].link; in node_active_link() 210 int bearer_id; in tipc_node_get_mtu() local 225 bearer_id = n->active_links[sel & 1]; in tipc_node_get_mtu() 226 if (likely(bearer_id != INVALID_BEARER_ID)) in tipc_node_get_mtu() 227 mtu = n->links[bearer_id].mtu; in tipc_node_get_mtu() 406 u32 bearer_id, node; in tipc_node_write_unlock() local [all …]
|
D | bearer.h | 226 void tipc_bearer_add_dest(struct net *net, u32 bearer_id, u32 dest); 227 void tipc_bearer_remove_dest(struct net *net, u32 bearer_id, u32 dest); 229 int tipc_bearer_get_name(struct net *net, char *name, u32 bearer_id); 234 int tipc_bearer_mtu(struct net *net, u32 bearer_id); 235 bool tipc_bearer_bcast_support(struct net *net, u32 bearer_id); 236 void tipc_bearer_xmit_skb(struct net *net, u32 bearer_id, 239 void tipc_bearer_xmit(struct net *net, u32 bearer_id, 243 void tipc_bearer_bc_xmit(struct net *net, u32 bearer_id,
|
D | bearer.c | 62 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() 196 int tipc_bearer_get_name(struct net *net, char *name, u32 bearer_id) in tipc_bearer_get_name() argument 201 if (bearer_id >= MAX_BEARERS) in tipc_bearer_get_name() 204 b = rtnl_dereference(tn->bearer_list[bearer_id]); in tipc_bearer_get_name() 212 void tipc_bearer_add_dest(struct net *net, u32 bearer_id, u32 dest) in tipc_bearer_add_dest() argument 218 b = rcu_dereference(tn->bearer_list[bearer_id]); in tipc_bearer_add_dest() 224 void tipc_bearer_remove_dest(struct net *net, u32 bearer_id, u32 dest) in tipc_bearer_remove_dest() argument 230 b = rcu_dereference(tn->bearer_list[bearer_id]); in tipc_bearer_remove_dest() 256 int bearer_id = 0; in tipc_enable_bearer() local [all …]
|
D | bcast.c | 147 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 …]
|
D | discover.c | 63 u32 bearer_id; member 300 u32 bearer_id; in tipc_disc_timeout() local 334 bearer_id = d->bearer_id; in tipc_disc_timeout() 338 tipc_bearer_xmit_skb(net, bearer_id, skb, &maddr); in tipc_disc_timeout() 373 d->bearer_id = b->identity; in tipc_disc_create() 410 d->bearer_id = b->identity; in tipc_disc_reset()
|
D | bcast.h | 86 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);
|
D | node.h | 97 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,
|
D | link.h | 74 bool tipc_link_create(struct net *net, char *if_name, int bearer_id,
|
D | link.c | 163 u32 bearer_id; member 342 return l->peer_bearer_id << 16 | l->bearer_id; in tipc_link_id() 498 bool tipc_link_create(struct net *net, char *if_name, int bearer_id, in tipc_link_create() argument 536 l->bearer_id = bearer_id; in tipc_link_create() 859 tipc_mon_get_state(l->net, l->addr, mstate, l->bearer_id); in tipc_link_timeout() 1890 msg_set_bearer_id(hdr, l->bearer_id); in tipc_link_build_proto_msg() 1913 tipc_mon_prep(l->net, data + glen, &dlen, mstate, l->bearer_id); in tipc_link_build_proto_msg() 2322 &l->mon_state, l->bearer_id); in tipc_link_proto_rcv()
|
D | socket.c | 3311 lnr.bearer_id & 0xffff, lnr.peer, in tipc_ioctl()
|
/linux-6.1.9/include/uapi/linux/ |
D | tipc.h | 227 __u32 bearer_id; member
|