Searched defs:link (Results 1 - 20 of 20) sorted by relevance

/net/hsr/
H A Dhsr_netlink.c37 struct net_device *link[2]; local
48 link[0] = __dev_get_by_index(src_net, nla_get_u32(data[IFLA_HSR_SLAVE1]));
53 link[1] = __dev_get_by_index(src_net, nla_get_u32(data[IFLA_HSR_SLAVE2]));
55 if (!link[0] || !link[1])
57 if (link[0] == link[1])
65 return hsr_dev_finalize(dev, link, multicast_spec);
145 * (i.e. a link has failed somewhere).
/net/sched/
H A Dcls_basic.c36 struct list_head link; member in struct:basic_filter
47 list_for_each_entry_rcu(f, &head->flist, link) {
68 list_for_each_entry(f, &head->flist, link)
105 list_for_each_entry_safe(f, n, &head->flist, link) {
106 list_del_rcu(&f->link);
119 list_for_each_entry(t, &head->flist, link)
121 list_del_rcu(&t->link);
224 list_replace_rcu(&fold->link, &fnew->link);
228 list_add_rcu(&fnew->link,
[all...]
H A Dcls_bpf.c38 struct list_head link; member in struct:cls_bpf_prog
59 list_for_each_entry_rcu(prog, &head->plist, link) {
115 list_for_each_entry(prog, &head->plist, link) {
117 list_del_rcu(&prog->link);
132 list_for_each_entry_safe(prog, tmp, &head->plist, link) {
133 list_del_rcu(&prog->link);
151 list_for_each_entry_rcu(prog, &head->plist, link) {
285 list_replace_rcu(&prog->link, &oldprog->link);
289 list_add_rcu(&prog->link,
[all...]
H A Dsch_atm.c62 struct atm_flow_data link; /* unclassified skbs go here */ member in struct:atm_qdisc_data
63 struct list_head flows; /* NB: "link" is also on this
154 if (flow != &p->link)
157 * If flow == &p->link, the qdisc no longer works at this point and
291 list_add(&flow->list, &p->link.list);
314 if (rcu_access_pointer(flow->filter_list) || flow == &p->link)
355 return flow ? &flow->filter_list : &p->link.filter_list;
392 flow = &p->link;
435 if (flow == &p->link) {
459 if (flow == &p->link)
[all...]
H A Dsch_cbq.c68 internal device queueing, but on a permanently loaded link it is true.
149 struct cbq_class link; member in struct:cbq_sched_data
207 * it allows us to combine link sharing and priority scheduling
210 * Namely, you can put link sharing rules (f.e. route based) at root of CBQ,
220 struct cbq_class *head = &q->link;
274 * Step 3+n. If classifier selected a link sharing class,
705 now = q->now + L2T(&q->link, len);
762 idle -= L2T(&q->link, len);
799 * only if link is completely congested.
986 q->link
[all...]
/net/tipc/
H A Ddiscover.c38 #include "link.h"
48 * struct tipc_link_req - information about an ongoing link setup request
52 * @num_nodes: number of nodes currently discovered (i.e. with an active link)
70 * tipc_disc_init_msg - initialize a link setup message
116 struct tipc_link *link; local
163 link = node->links[bearer->identity];
167 addr_match = link && !memcmp(&link->media_addr, &maddr, sizeof(maddr));
168 link_up = link && tipc_link_is_up(link);
[all...]
H A Dnode.c215 * tipc_node_link_up - handle addition of link
227 pr_info("Established link <%s> on network plane %c\n",
236 pr_info("New link <%s> becomes standby\n", l_ptr->name);
244 pr_info("Old link <%s> becomes standby\n", active[0]->name);
246 pr_info("Old link <%s> becomes standby\n", active[1]->name);
255 * node_select_active_links - select active link
282 * tipc_node_link_down - handle loss of link
293 pr_info("Lost standby link <%s> on network plane %c\n",
297 pr_info("Lost link <%s> on network plane %c\n",
319 /* Loopback link wen
533 struct tipc_link *link; local
[all...]
H A Dbcast.c39 #include "link.h"
45 #define MAX_PKT_DEFAULT_MCAST 1500 /* bcast link max packet size (fixed) */
46 #define BCLINK_WIN_DEFAULT 20 /* bcast link window size (default) */
50 * struct tipc_bcbearer_pair - a pair of bearers used by broadcast link
64 * struct tipc_bcbearer - bearer used by broadcast link
87 * struct tipc_bclink - link used for broadcast messages
89 * @link: (non-standard) broadcast link structure
90 * @node: (non-standard) node structure representing b'cast link's peer node
99 struct tipc_link link; member in struct:tipc_bclink
[all...]
H A Dlink.c2 * net/tipc/link.c: TIPC link code
38 #include "link.h"
50 static const char *link_rst_msg = "Resetting link ";
51 static const char *link_unk_evt = "Unknown link event ";
54 * Out-of-range value for link session numbers
61 #define STARTING_EVT 856384768 /* link processing trigger */
63 #define TIMEOUT_EVT 560817u /* link timer expired */
93 * Simple link routines
139 * Simple non-static link routine
331 link_schedule_user(struct tipc_link *link, u32 oport, uint chain_sz, uint imp) argument
353 link_prepare_wakeup(struct tipc_link *link) argument
670 tipc_link_cong(struct tipc_link *link, struct sk_buff *buf) argument
704 __tipc_link_xmit(struct tipc_link *link, struct sk_buff *buf) argument
782 struct tipc_link *link = NULL; local
813 tipc_link_sync_xmit(struct tipc_link *link) argument
[all...]
/net/dsa/
H A Ddsa.c290 /* link polling *************************************************************/
375 struct device_node *link)
384 parent_sw = of_get_parent(link);
407 reg = of_get_property(link, "reg", NULL);
442 struct device_node *child, *mdio, *ethernet, *port, *link; local
521 link = of_parse_phandle(port, "link", 0);
523 if (!strcmp(port_name, "dsa") && link &&
526 chip_index, link);
372 dsa_of_setup_routing_table(struct dsa_platform_data *pd, struct dsa_chip_data *cd, int chip_index, struct device_node *link) argument
/net/irda/irnet/
H A Dirnet_irda.c1097 * o connected, link is broken, LAP has timeout
1098 * o connected, other side close the link
1296 LINK_STATUS link,
1305 switch(link)
1295 irnet_status_indication(void * instance, LINK_STATUS link, LOCK_STATUS lock) argument
/net/irda/
H A Dirttp.c71 LINK_STATUS link, LOCK_STATUS lock);
777 * remains in IrLAP (retry on the link or else) after we
992 LINK_STATUS link, LOCK_STATUS lock)
1012 link, lock);
1221 * negotiated QoS for the link.
991 irttp_status_indication(void *instance, LINK_STATUS link, LOCK_STATUS lock) argument
H A Dirlmp.c244 * Find out if we should remove this LSAP from a link or from the
245 * list of unconnected lsaps (not associated with a link)
259 /* Now, remove from the link */
329 * We set only this variable so IrLAP can tell us on which link the
344 struct lap_cb *link; local
349 * that no more LSAPs will be open on this link and no discovery
351 link = hashbin_remove(irlmp->links, saddr, NULL);
352 if (link) {
353 IRDA_ASSERT(link->magic == LMP_LAP_MAGIC, return;);
355 /* Kill all the LSAPs on this link
1299 irlmp_status_indication(struct lap_cb *self, LINK_STATUS link, LOCK_STATUS lock) argument
[all...]
/net/ipv4/
H A Dip_tunnel.c153 int link, __be16 flags,
173 if (t->parms.link == link)
188 if (t->parms.link == link)
208 if (t->parms.link == link)
224 if (t->parms.link == link)
281 int link local
152 ip_tunnel_lookup(struct ip_tunnel_net *itn, int link, __be16 flags, __be32 remote, __be32 local, __be32 key) argument
[all...]
/net/ipv6/
H A Dip6_gre.c119 int link = dev->ifindex; local
140 if (t->parms.link != link)
164 if (t->parms.link != link)
190 if (t->parms.link != link)
213 if (t->parms.link != link)
290 int link local
[all...]
/net/decnet/
H A Daf_decnet.c1521 struct linkinfo_dn link; local
1558 memset(&link, 0, sizeof(link));
1562 link.idn_linkstate = LL_CONNECTING;
1565 link.idn_linkstate = LL_DISCONNECTING;
1568 link.idn_linkstate = LL_RUNNING;
1571 link.idn_linkstate = LL_INACTIVE;
1574 link.idn_segsize = scp->segsize_rem;
1575 r_data = &link;
2019 * link
[all...]
/net/sctp/
H A Dsm_statefuns.c1132 struct sctp_transport *link; local
1153 link = sctp_assoc_lookup_paddr(asoc, &from_addr);
1156 if (unlikely(!link)) {
1172 if (hbinfo->hb_nonce != link->hb_nonce)
1175 max_interval = link->hbinterval + link->rto;
1181 "for transport:%p\n", __func__, link);
1192 sctp_add_cmd_sf(commands, SCTP_CMD_TRANSPORT_ON, SCTP_TRANSPORT(link));
/net/xfrm/
H A Dxfrm_user.c2417 const struct xfrm_link *link; local
2425 link = &xfrm_dispatch[type];
2434 if (link->dump == NULL)
2439 .dump = link->dump,
2440 .done = link->done,
2447 link->nla_max ? : XFRMA_MAX,
2448 link->nla_pol ? : xfrma_policy);
2452 if (link->doit == NULL)
2455 return link->doit(skb, nlh, attrs);
/net/netlink/
H A Daf_netlink.c2900 int link; member in struct:nl_seq_iter
2923 iter->link = i;
2959 i = iter->link;
2973 iter->link = i;
/net/rxrpc/
H A Dar-internal.h60 struct list_head listen_link; /* link in the local endpoint's listen list */
109 struct list_head link; /* link in master list */ member in struct:rxrpc_security
156 struct list_head link; /* link in endpoint list */ member in struct:rxrpc_local
175 struct list_head link; /* link in master peer list */ member in struct:rxrpc_peer
207 struct list_head link; /* link in master session list */ member in struct:rxrpc_transport
245 struct list_head link; /* lin member in struct:rxrpc_connection
306 struct list_head link; /* link in master call list */ member in struct:rxrpc_call
[all...]

Completed in 465 milliseconds