Searched refs:b_ptr (Results 1 – 8 of 8) sorted by relevance
/net/tipc/ |
D | bearer.c | 49 static void bearer_disable(struct tipc_bearer *b_ptr); 207 struct tipc_bearer *b_ptr; in tipc_bearer_find() local 210 for (i = 0, b_ptr = tipc_bearers; i < MAX_BEARERS; i++, b_ptr++) { in tipc_bearer_find() 211 if (b_ptr->active && (!strcmp(b_ptr->name, name))) in tipc_bearer_find() 212 return b_ptr; in tipc_bearer_find() 222 struct tipc_bearer *b_ptr; in tipc_bearer_find_interface() local 226 for (i = 0, b_ptr = tipc_bearers; i < MAX_BEARERS; i++, b_ptr++) { in tipc_bearer_find_interface() 227 if (!b_ptr->active) in tipc_bearer_find_interface() 229 b_if_name = strchr(b_ptr->name, ':') + 1; in tipc_bearer_find_interface() 231 return b_ptr; in tipc_bearer_find_interface() [all …]
|
D | discover.c | 75 struct tipc_bearer *b_ptr) in tipc_disc_init_msg() argument 87 b_ptr->media->addr2msg(&b_ptr->addr, msg_media_addr(msg)); in tipc_disc_init_msg() 98 static void disc_dupl_alert(struct tipc_bearer *b_ptr, u32 node_addr, in disc_dupl_alert() argument 108 media_addr_str, b_ptr->name); in disc_dupl_alert() 116 void tipc_disc_recv_msg(struct sk_buff *buf, struct tipc_bearer *b_ptr) in tipc_disc_recv_msg() argument 132 b_ptr->media->msg2addr(b_ptr, &media_addr, msg_media_addr(msg)); in tipc_disc_recv_msg() 145 if (memcmp(&media_addr, &b_ptr->addr, sizeof(media_addr))) in tipc_disc_recv_msg() 146 disc_dupl_alert(b_ptr, tipc_own_addr, &media_addr); in tipc_disc_recv_msg() 151 if (!tipc_in_scope(b_ptr->link_req->domain, orig)) in tipc_disc_recv_msg() 164 link = n_ptr->links[b_ptr->identity]; in tipc_disc_recv_msg() [all …]
|
D | bearer.h | 92 struct tipc_bearer *b_ptr, 94 int (*enable_bearer)(struct tipc_bearer *b_ptr); 95 void (*disable_bearer)(struct tipc_bearer *b_ptr); 98 int (*msg2addr)(const struct tipc_bearer *b_ptr, 192 void tipc_bearer_add_dest(struct tipc_bearer *b_ptr, u32 dest); 193 void tipc_bearer_remove_dest(struct tipc_bearer *b_ptr, u32 dest); 197 int tipc_bearer_blocked(struct tipc_bearer *b_ptr);
|
D | link.c | 120 max_pkt = (l_ptr->b_ptr->mtu & ~3); in link_init_max_pkt() 296 struct tipc_bearer *b_ptr, in tipc_link_create() argument 311 if (n_ptr->links[b_ptr->identity]) { in tipc_link_create() 314 b_ptr->name, addr_string); in tipc_link_create() 325 if_name = strchr(b_ptr->name, ':') + 1; in tipc_link_create() 336 l_ptr->b_ptr = b_ptr; in tipc_link_create() 337 link_set_supervision_props(l_ptr, b_ptr->tolerance); in tipc_link_create() 345 msg_set_bearer_id(msg, b_ptr->identity); in tipc_link_create() 348 l_ptr->priority = b_ptr->priority; in tipc_link_create() 349 tipc_link_set_queue_limits(l_ptr, b_ptr->window); in tipc_link_create() [all …]
|
D | discover.h | 42 int tipc_disc_create(struct tipc_bearer *b_ptr, struct tipc_media_addr *dest, 47 void tipc_disc_recv_msg(struct sk_buff *buf, struct tipc_bearer *b_ptr);
|
D | node.c | 154 l_ptr->name, l_ptr->b_ptr->net_plane); in tipc_node_link_up() 214 l_ptr->name, l_ptr->b_ptr->net_plane); in tipc_node_link_down() 218 l_ptr->name, l_ptr->b_ptr->net_plane); in tipc_node_link_down() 250 n_ptr->links[l_ptr->b_ptr->identity] = l_ptr; in tipc_node_attach_link() 257 n_ptr->links[l_ptr->b_ptr->identity] = NULL; in tipc_node_detach_link()
|
D | link.h | 153 struct tipc_bearer *b_ptr; member 210 struct tipc_bearer *b_ptr,
|
D | bcast.c | 790 bcl->b_ptr = &bcbearer->bearer; in tipc_bclink_init()
|