Lines Matching defs:tipc_link

82  * struct tipc_link - TIPC link data structure
124 struct tipc_link {
193 struct tipc_link *bc_rcvlink;
194 struct tipc_link *bc_sndlink;
233 static int link_is_up(struct tipc_link *l)
238 static int tipc_link_proto_rcv(struct tipc_link *l, struct sk_buff *skb,
240 static void tipc_link_build_proto_msg(struct tipc_link *l, int mtyp, bool probe,
244 static void link_print(struct tipc_link *l, const char *str);
245 static int tipc_link_build_nack_msg(struct tipc_link *l,
247 static void tipc_link_build_bc_init_msg(struct tipc_link *l,
250 struct tipc_link *l, u8 start_index);
251 static u16 tipc_build_gap_ack_blks(struct tipc_link *l, struct tipc_msg *hdr);
252 static int tipc_link_advance_transmq(struct tipc_link *l, struct tipc_link *r,
257 static void tipc_link_update_cwin(struct tipc_link *l, int released,
262 bool tipc_link_is_up(struct tipc_link *l)
267 bool tipc_link_peer_is_down(struct tipc_link *l)
272 bool tipc_link_is_reset(struct tipc_link *l)
277 bool tipc_link_is_establishing(struct tipc_link *l)
282 bool tipc_link_is_synching(struct tipc_link *l)
287 bool tipc_link_is_failingover(struct tipc_link *l)
292 bool tipc_link_is_blocked(struct tipc_link *l)
297 static bool link_is_bc_sndlink(struct tipc_link *l)
302 static bool link_is_bc_rcvlink(struct tipc_link *l)
307 void tipc_link_set_active(struct tipc_link *l, bool active)
312 u32 tipc_link_id(struct tipc_link *l)
317 int tipc_link_min_win(struct tipc_link *l)
322 int tipc_link_max_win(struct tipc_link *l)
327 int tipc_link_prio(struct tipc_link *l)
332 unsigned long tipc_link_tolerance(struct tipc_link *l)
337 struct sk_buff_head *tipc_link_inputq(struct tipc_link *l)
342 char tipc_link_plane(struct tipc_link *l)
347 struct net *tipc_link_net(struct tipc_link *l)
352 void tipc_link_update_caps(struct tipc_link *l, u16 capabilities)
357 void tipc_link_add_bc_peer(struct tipc_link *snd_l,
358 struct tipc_link *uc_l,
361 struct tipc_link *rcv_l = uc_l->bc_rcvlink;
369 void tipc_link_remove_bc_peer(struct tipc_link *snd_l,
370 struct tipc_link *rcv_l,
390 int tipc_link_bc_peers(struct tipc_link *l)
395 static u16 link_bc_rcv_gap(struct tipc_link *l)
407 void tipc_link_set_mtu(struct tipc_link *l, int mtu)
412 int tipc_link_mtu(struct tipc_link *l)
417 int tipc_link_mss(struct tipc_link *l)
426 u16 tipc_link_rcv_nxt(struct tipc_link *l)
431 u16 tipc_link_acked(struct tipc_link *l)
436 char *tipc_link_name(struct tipc_link *l)
441 u32 tipc_link_state(struct tipc_link *l)
473 struct tipc_link *bc_sndlink,
474 struct tipc_link *bc_rcvlink,
477 struct tipc_link **link)
481 struct tipc_link *l;
547 struct tipc_link *bc_sndlink,
548 struct tipc_link **link)
550 struct tipc_link *l;
592 int tipc_link_fsm_evt(struct tipc_link *l, int evt)
753 static void link_profile_stats(struct tipc_link *l)
799 bool tipc_link_too_silent(struct tipc_link *l)
806 int tipc_link_timeout(struct tipc_link *l, struct sk_buff_head *xmitq)
871 static int link_schedule_user(struct tipc_link *l, struct tipc_msg *hdr)
896 static void link_prepare_wakeup(struct tipc_link *l)
932 struct tipc_link *l)
940 void tipc_link_reset(struct tipc_link *l)
1001 int tipc_link_xmit(struct tipc_link *l, struct sk_buff_head *list,
1093 static void tipc_link_update_cwin(struct tipc_link *l, int released,
1135 static void tipc_link_advance_backlog(struct tipc_link *l,
1184 static bool link_retransmit_failure(struct tipc_link *l, struct tipc_link *r,
1233 static bool tipc_data_input(struct tipc_link *l, struct sk_buff *skb,
1283 static int tipc_link_input(struct tipc_link *l, struct sk_buff *skb,
1328 static int tipc_link_tnl_rcv(struct tipc_link *l, struct sk_buff *skb,
1402 u16 tipc_get_gap_ack_blks(struct tipc_gap_ack_blks **ga, struct tipc_link *l,
1434 struct tipc_link *l, u8 start_index)
1480 static u16 tipc_build_gap_ack_blks(struct tipc_link *l, struct tipc_msg *hdr)
1482 struct tipc_link *bcl = l->bc_rcvlink;
1520 static int tipc_link_advance_transmq(struct tipc_link *l, struct tipc_link *r,
1676 int tipc_link_build_state_msg(struct tipc_link *l, struct sk_buff_head *xmitq)
1700 void tipc_link_build_reset_msg(struct tipc_link *l, struct sk_buff_head *xmitq)
1720 static int tipc_link_build_nack_msg(struct tipc_link *l,
1750 int tipc_link_rcv(struct tipc_link *l, struct sk_buff *skb,
1820 static void tipc_link_build_proto_msg(struct tipc_link *l, int mtyp, bool probe,
1827 struct tipc_link *bcl = l->bc_rcvlink;
1904 void tipc_link_create_dummy_tnl_msg(struct tipc_link *l,
1937 void tipc_link_tnl_prepare(struct tipc_link *l, struct tipc_link *tnl,
2091 void tipc_link_failover_prepare(struct tipc_link *l, struct tipc_link *tnl,
2118 bool tipc_link_validate_msg(struct tipc_link *l, struct tipc_msg *hdr)
2161 static int tipc_link_proto_rcv(struct tipc_link *l, struct sk_buff *skb,
2319 static bool tipc_link_build_bc_proto_msg(struct tipc_link *l, bool bcast,
2350 static void tipc_link_build_bc_init_msg(struct tipc_link *l,
2364 void tipc_link_bc_init_rcv(struct tipc_link *l, struct tipc_msg *hdr)
2391 int tipc_link_bc_sync_rcv(struct tipc_link *l, struct tipc_msg *hdr,
2448 int tipc_link_bc_ack_rcv(struct tipc_link *r, u16 acked, u16 gap,
2453 struct tipc_link *l = r->bc_sndlink;
2482 int tipc_link_bc_nack_rcv(struct tipc_link *l, struct sk_buff *skb,
2516 void tipc_link_set_queue_limits(struct tipc_link *l, u32 min_win, u32 max_win)
2535 void tipc_link_reset_stats(struct tipc_link *l)
2540 static void link_print(struct tipc_link *l, const char *str)
2657 struct tipc_link *link, int nlflags)
2777 struct tipc_link *bcl)
2849 void tipc_link_set_tolerance(struct tipc_link *l, u32 tol,
2859 void tipc_link_set_prio(struct tipc_link *l, u32 prio,
2866 void tipc_link_set_abort_limit(struct tipc_link *l, u32 limit)
2884 int tipc_link_dump(struct tipc_link *l, u16 dqueues, char *buf)