Searched refs:bearer (Results 1 – 9 of 9) sorted by relevance
/net/tipc/ |
D | eth_media.c | 56 struct tipc_bearer *bearer; member 109 if (likely(eb_ptr->bearer)) { in recv_msg() 115 tipc_recv_msg(buf, eb_ptr->bearer); in recv_msg() 165 eb_ptr->bearer = tb_ptr; in enable_bearer() 184 ((struct eth_bearer *)tb_ptr->usr_handle)->bearer = NULL; in disable_bearer() 208 if (!eb_ptr->bearer) in recv_notification() 211 eb_ptr->bearer->mtu = dev->mtu; in recv_notification() 216 tipc_continue(eb_ptr->bearer); in recv_notification() 218 tipc_block_bearer(eb_ptr->bearer->name); in recv_notification() 221 tipc_continue(eb_ptr->bearer); in recv_notification() [all …]
|
D | bearer.h | 95 struct bearer { struct 117 extern struct bearer *tipc_bearers; argument 123 void tipc_bearer_add_dest(struct bearer *b_ptr, u32 dest); 124 void tipc_bearer_remove_dest(struct bearer *b_ptr, u32 dest); 125 void tipc_bearer_schedule(struct bearer *b_ptr, struct link *l_ptr); 126 struct bearer *tipc_bearer_find_interface(const char *if_name); 127 int tipc_bearer_resolve_congestion(struct bearer *b_ptr, struct link *l_ptr); 130 void tipc_bearer_lock_push(struct bearer *b_ptr); 151 static inline int tipc_bearer_send(struct bearer *b_ptr, struct sk_buff *buf, in tipc_bearer_send() 161 static inline int tipc_bearer_congested(struct bearer *b_ptr, struct link *l_ptr) in tipc_bearer_congested()
|
D | discover.c | 74 struct bearer *bearer; member 116 struct bearer *b_ptr) in tipc_disc_init_msg() 140 static void disc_dupl_alert(struct bearer *b_ptr, u32 node_addr, in disc_dupl_alert() 161 void tipc_disc_recv_msg(struct sk_buff *buf, struct bearer *b_ptr) in tipc_disc_recv_msg() 267 if (!req->bearer->nodes.count) { in tipc_disc_update_link_req() 272 if (req->bearer->nodes.count) { in tipc_disc_update_link_req() 290 spin_lock_bh(&req->bearer->publ.lock); in disc_timeout() 292 req->bearer->media->send_msg(req->buf, &req->bearer->publ, &req->dest); in disc_timeout() 302 (req->bearer->nodes.count)) in disc_timeout() 307 spin_unlock_bh(&req->bearer->publ.lock); in disc_timeout() [all …]
|
D | bearer.c | 51 struct bearer *tipc_bearers = NULL; 284 static struct bearer *bearer_find(const char *name) in bearer_find() 286 struct bearer *b_ptr; in bearer_find() 303 struct bearer *tipc_bearer_find_interface(const char *if_name) in tipc_bearer_find_interface() 305 struct bearer *b_ptr; in tipc_bearer_find_interface() 327 struct bearer *b_ptr; in tipc_bearer_get_names() 349 void tipc_bearer_add_dest(struct bearer *b_ptr, u32 dest) in tipc_bearer_add_dest() 356 void tipc_bearer_remove_dest(struct bearer *b_ptr, u32 dest) in tipc_bearer_remove_dest() 371 static int bearer_push(struct bearer *b_ptr) in bearer_push() 391 void tipc_bearer_lock_push(struct bearer *b_ptr) in tipc_bearer_lock_push() [all …]
|
D | bcast.c | 75 struct bearer *primary; 76 struct bearer *secondary; 95 struct bearer bearer; member 286 if (tipc_bearer_send(&bcbearer->bearer, buf, NULL)) { in bclink_send_nack() 588 struct bearer *p = bcbearer->bpairs[bp_index].primary; in tipc_bcbearer_send() 589 struct bearer *s = bcbearer->bpairs[bp_index].secondary; in tipc_bcbearer_send() 621 bcbearer->bearer.publ.blocked = 1; in tipc_bcbearer_send() 644 struct bearer *b = &tipc_bearers[b_index]; in tipc_bcbearer_sort() 693 struct bearer *b_ptr; in tipc_bcbearer_push() 696 b_ptr = &bcbearer->bearer; in tipc_bcbearer_push() [all …]
|
D | discover.h | 44 struct link_req *tipc_disc_init_link_req(struct bearer *b_ptr, 51 void tipc_disc_recv_msg(struct sk_buff *buf, struct bearer *b_ptr);
|
D | link.h | 127 struct bearer *b_ptr; 224 struct link *tipc_link_create(struct bearer *b_ptr, const u32 peer,
|
D | Makefile | 7 tipc-y += addr.o bcast.o bearer.o config.o cluster.o \
|
D | link.c | 431 struct link *tipc_link_create(struct bearer *b_ptr, const u32 peer, in tipc_link_create() 1845 struct bearer *b_ptr = (struct bearer *)tb_ptr; in tipc_recv_msg() 2941 struct bearer *b_ptr; in link_find_link() 3221 struct bearer *b_ptr = l_ptr->b_ptr;
|