/linux-4.4.14/net/tipc/ |
H A D | discover.c | 41 /* min delay during bearer start up */ 43 /* max delay if bearer has no links */ 45 /* max delay if bearer has links */ 52 * @bearer_id: identity of bearer issuing requests 78 * @b_ptr: ptr to bearer issuing message 100 * @b_ptr: pointer to bearer detecting duplication 121 * @bearer: bearer that message arrived on 124 struct tipc_bearer *bearer) tipc_disc_rcv() 139 bearer->media->msg2addr(bearer, &maddr, msg_media_addr(hdr)); tipc_disc_rcv() 153 if (memcmp(&maddr, &bearer->addr, sizeof(maddr))) tipc_disc_rcv() 154 disc_dupl_alert(bearer, tn->own_addr, &maddr); tipc_disc_rcv() 159 if (!tipc_in_scope(bearer->domain, onode)) tipc_disc_rcv() 162 tipc_node_check_dest(net, onode, bearer, caps, signature, tipc_disc_rcv() 165 disc_dupl_alert(bearer, onode, &maddr); tipc_disc_rcv() 172 tipc_disc_init_msg(net, rskb, DSC_RESP_MSG, bearer); tipc_disc_rcv() 173 tipc_bearer_xmit_skb(net, bearer->identity, rskb, &maddr); tipc_disc_rcv() 222 * Called whenever a link setup request timer associated with a bearer expires. 264 * @b_ptr: ptr to bearer issuing requests 316 * @b_ptr: ptr to bearer issuing requests 123 tipc_disc_rcv(struct net *net, struct sk_buff *skb, struct tipc_bearer *bearer) tipc_disc_rcv() argument
|
H A D | bearer.h | 2 * net/tipc/bearer.h: Include file for TIPC bearer code 89 * struct tipc_media - Media specific info exposed to generic bearer layer 97 * @priority: default link (and bearer) priority 130 * struct tipc_bearer - Generic TIPC bearer structure 131 * @media_ptr: pointer to additional media-specific information about bearer 132 * @mtu: max packet size bearer can support 133 * @addr: media-specific address associated with bearer 134 * @name: bearer name (format = media:interface) 135 * @media: ptr to media structure associated with bearer 138 * @priority: default link priority for bearer 139 * @window: default window size for bearer 140 * @tolerance: default link tolerance for bearer 142 * @identity: array index of this bearer within TIPC bearer array 144 * @net_plane: network plane ('A' through 'H') currently associated with bearer 145 * @nodes: indicates which nodes in cluster can be reached through bearer 148 * indicated below when a bearer is enabled; TIPC's generic bearer code takes
|
H A D | udp_media.c | 1 /* net/tipc/udp_media.c: IP bearer support for TIPC 50 #include "bearer.h" 69 * This is the bearer level originating address used in neighbor discovery 82 * struct udp_bearer - ip/udp bearer data structure 83 * @bearer: associated generic tipc bearer 84 * @ubsock: bearer associated socket 86 * @work: used to schedule deferred work on a bearer 89 struct tipc_bearer __rcu *bearer; member in struct:udp_bearer 222 /* tipc_udp_recv - read data from bearer socket */ tipc_udp_recv() 234 pr_err_ratelimited("Failed to get UDP bearer reference"); tipc_udp_recv() 241 b = rcu_dereference_rtnl(ub->bearer); tipc_udp_recv() 279 * @ub: UDP bearer instance 280 * @local: local bearer IP address/port 301 pr_err("Invalid UDP bearer configuration"); parse_options() 339 * tipc_udp_enable - callback to create a new udp bearer instance 342 * @attrs: netlink bearer configuration 344 * validate the bearer parameters and initialize the udp bearer 370 rcu_assign_pointer(ub->bearer, b); tipc_udp_enable() 416 /* cleanup_bearer - break the socket/bearer association */ cleanup_bearer() 427 /* tipc_udp_disable - detach bearer from socket */ tipc_udp_disable() 434 pr_err("UDP bearer instance not found\n"); tipc_udp_disable() 439 RCU_INIT_POINTER(ub->bearer, NULL); tipc_udp_disable()
|
H A D | bearer.c | 2 * net/tipc/bearer.c: TIPC bearer code 39 #include "bearer.h" 128 * bearer_name_validate - validate & (optionally) deconstruct bearer name 129 * @name: ptr to bearer name string 130 * @name_parts: ptr to area for bearer name components (or NULL if not needed) 132 * Returns 1 if bearer name is valid, otherwise 0. 143 /* copy bearer name & ensure length is OK */ bearer_name_validate() 150 /* ensure all component parts of bearer name are present */ bearer_name_validate() 159 /* validate component parts of bearer name */ bearer_name_validate() 164 /* return bearer name components, if necessary */ bearer_name_validate() 173 * tipc_bearer_find - locates bearer object with matching bearer name 214 * tipc_enable_bearer - enable bearer with the given name 295 pr_warn("Bearer <%s> rejected, bearer limit reached (%u)\n", tipc_enable_bearer() 330 pr_info("Enabled bearer <%s>, discovery domain %s, priority %u\n", tipc_enable_bearer() 337 * tipc_reset_bearer - Reset all links established over this bearer 341 pr_info("Resetting bearer <%s>\n", b_ptr->name); tipc_reset_bearer() 357 pr_info("Disabling bearer <%s>\n", b_ptr->name); bearer_disable() 385 /* Associate TIPC bearer with L2 bearer */ tipc_enable_l2_media() 397 /* tipc_disable_l2_media - detach TIPC bearer from an L2 interface 399 * Mark L2 bearer as inactive so that incoming buffers are thrown away 414 * @b_ptr: the bearer through which the packet is to be sent 456 /* tipc_bearer_xmit_skb - sends buffer to destination over bearer 472 /* tipc_bearer_xmit() -send buffer to destination over bearer 638 /* Caller should hold rtnl_lock to protect the bearer */ __tipc_nl_add_bearer() 640 struct tipc_bearer *bearer, int nlflags) __tipc_nl_add_bearer() 655 if (nla_put_string(msg->skb, TIPC_NLA_BEARER_NAME, bearer->name)) __tipc_nl_add_bearer() 661 if (nla_put_u32(msg->skb, TIPC_NLA_PROP_PRIO, bearer->priority)) __tipc_nl_add_bearer() 663 if (nla_put_u32(msg->skb, TIPC_NLA_PROP_TOL, bearer->tolerance)) __tipc_nl_add_bearer() 665 if (nla_put_u32(msg->skb, TIPC_NLA_PROP_WIN, bearer->window)) __tipc_nl_add_bearer() 688 struct tipc_bearer *bearer; tipc_nl_bearer_dump() local 702 bearer = rtnl_dereference(tn->bearer_list[i]); tipc_nl_bearer_dump() 703 if (!bearer) tipc_nl_bearer_dump() 706 err = __tipc_nl_add_bearer(&msg, bearer, NLM_F_MULTI); tipc_nl_bearer_dump() 721 struct tipc_bearer *bearer; tipc_nl_bearer_get() local 748 bearer = tipc_bearer_find(net, name); tipc_nl_bearer_get() 749 if (!bearer) { tipc_nl_bearer_get() 754 err = __tipc_nl_add_bearer(&msg, bearer, 0); tipc_nl_bearer_get() 771 struct tipc_bearer *bearer; tipc_nl_bearer_disable() local 790 bearer = tipc_bearer_find(net, name); tipc_nl_bearer_disable() 791 if (!bearer) { tipc_nl_bearer_disable() 796 bearer_disable(net, bearer); tipc_nl_bearer_disable() 805 char *bearer; tipc_nl_bearer_enable() local 827 bearer = nla_data(attrs[TIPC_NLA_BEARER_NAME]); tipc_nl_bearer_enable() 845 err = tipc_enable_bearer(net, bearer, domain, prio, attrs); tipc_nl_bearer_enable() 639 __tipc_nl_add_bearer(struct tipc_nl_msg *msg, struct tipc_bearer *bearer, int nlflags) __tipc_nl_add_bearer() argument
|
H A D | netlink_compat.c | 35 #include "bearer.h" 348 struct nlattr *bearer[TIPC_NLA_BEARER_MAX + 1]; tipc_nl_compat_bearer_dump() local 350 nla_parse_nested(bearer, TIPC_NLA_BEARER_MAX, attrs[TIPC_NLA_BEARER], tipc_nl_compat_bearer_dump() 354 nla_data(bearer[TIPC_NLA_BEARER_NAME]), tipc_nl_compat_bearer_dump() 355 nla_len(bearer[TIPC_NLA_BEARER_NAME])); tipc_nl_compat_bearer_dump() 363 struct nlattr *bearer; tipc_nl_compat_bearer_enable() local 368 bearer = nla_nest_start(skb, TIPC_NLA_BEARER); tipc_nl_compat_bearer_enable() 369 if (!bearer) tipc_nl_compat_bearer_enable() 386 nla_nest_end(skb, bearer); tipc_nl_compat_bearer_enable() 396 struct nlattr *bearer; tipc_nl_compat_bearer_disable() local 400 bearer = nla_nest_start(skb, TIPC_NLA_BEARER); tipc_nl_compat_bearer_disable() 401 if (!bearer) tipc_nl_compat_bearer_disable() 407 nla_nest_end(skb, bearer); tipc_nl_compat_bearer_disable() 630 struct nlattr *bearer; tipc_nl_compat_bearer_set() local 635 bearer = nla_nest_start(skb, TIPC_NLA_BEARER); tipc_nl_compat_bearer_set() 636 if (!bearer) tipc_nl_compat_bearer_set() 648 nla_nest_end(skb, bearer); tipc_nl_compat_bearer_set() 685 struct tipc_bearer *bearer; tipc_nl_compat_link_set() local 696 bearer = tipc_bearer_find(msg->net, lc->name); tipc_nl_compat_link_set() 697 if (bearer) { tipc_nl_compat_link_set()
|
H A D | bcast.c | 55 * @dest: array keeping number of reachable destinations per bearer 56 * @primary_bearer: a bearer having links to all broadcast destinations, if any 75 /* tipc_bcbase_select_primary(): find a bearer with links to all destinations, 76 * if any, and make it primary bearer 135 * the bearer), or be removed from the buffer's 'ackers' counter (if they 148 /* The typical case: at least one bearer has links to all nodes */ tipc_bcbase_xmit() 296 /* tipc_bcast_add_peer - add a peer node to broadcast link and bearer 311 /* tipc_bcast_remove_peer - remove a peer node from broadcast link and bearer
|
H A D | eth_media.c | 2 * net/tipc/eth_media.c: Ethernet bearer support for TIPC 38 #include "bearer.h"
|
H A D | ib_media.c | 2 * net/tipc/ib_media.c: Infiniband bearer support for TIPC 43 #include "bearer.h"
|
H A D | node.h | 42 #include "bearer.h" 94 * @active_links: bearer ids of active links, used as index into links[] array 104 * @link_id: local and remote bearer ids of changing link, if any 137 struct tipc_bearer *bearer,
|
H A D | link.h | 74 * (unless bearer MTU is less) 117 * @peer_bearer_id: bearer id used by link's peer endpoint 118 * @bearer_id: local bearer id used by link
|
H A D | net.c | 56 * 1: The bearer level. 57 * RTNL lock is used to serialize the process of configuring bearer 59 * bearer instance valid on both paths of message transmission and
|
H A D | node.c | 897 * @bearer_id: id of the bearer 1082 * @bearer_id: id of bearer message arrived on 1142 * @bearer_id: identity of bearer delivering the packet 1268 * @bearer: pointer to bearer message arrived on 1270 * Invoked with no locks held. Bearer pointer must point to a valid bearer 1271 * structure (i.e. cannot be NULL), but bearer can be inactive.
|
H A D | core.c | 42 #include "bearer.h"
|
H A D | netlink.c | 40 #include "bearer.h"
|
H A D | link.c | 239 * @bearer_id: id (index) of associated bearer 1591 /* Parse and validate nested (link) properties valid for media, bearer and link
|
/linux-4.4.14/include/uapi/linux/ |
H A D | tipc_netlink.h | 199 /* Nest, link propreties. Valid for link, media and bearer */
|
H A D | tipc.h | 212 * Maximum sizes of TIPC bearer-related names (including terminating NULL)
|
/linux-4.4.14/drivers/isdn/pcbit/ |
H A D | edss1.c | 116 {0x44, "Only restricted digital information bearer capability is available"},
|
/linux-4.4.14/drivers/isdn/hisax/ |
H A D | hisax.h | 315 u_char moderate; /* transfer mode and rate (bearer octet 4) */
|
H A D | q931.c | 368 0x44, "Only restricted digital information bearer capability is available", ""
|
H A D | l3dss1.c | 1653 l3_debug(pc->st, "setup with wrong bearer(l=%d:%x,%x)", l3dss1_setup() 1661 l3_debug(pc->st, "setup without bearer capabilities"); l3dss1_setup()
|
H A D | l3ni1.c | 1507 l3_debug(pc->st, "setup with wrong bearer(l=%d:%x,%x)", l3ni1_setup() 1515 l3_debug(pc->st, "setup without bearer capabilities"); l3ni1_setup()
|
/linux-4.4.14/drivers/isdn/capi/ |
H A D | capidrv.c | 939 case 0x34C6: return "Only restricted digital information bearer capability is available"; capi_info2str()
|