Lines Matching refs:tipc_link

152 struct tipc_link {  struct
221 struct tipc_link *bc_rcvlink; argument
222 struct tipc_link *bc_sndlink; argument
261 static int link_is_up(struct tipc_link *l) in link_is_up()
266 static int tipc_link_proto_rcv(struct tipc_link *l, struct sk_buff *skb,
268 static void tipc_link_build_proto_msg(struct tipc_link *l, int mtyp, bool probe,
272 static void link_print(struct tipc_link *l, const char *str);
273 static int tipc_link_build_nack_msg(struct tipc_link *l,
275 static void tipc_link_build_bc_init_msg(struct tipc_link *l,
278 struct tipc_link *l, u8 start_index);
279 static u16 tipc_build_gap_ack_blks(struct tipc_link *l, struct tipc_msg *hdr);
280 static int tipc_link_advance_transmq(struct tipc_link *l, struct tipc_link *r,
285 static void tipc_link_update_cwin(struct tipc_link *l, int released,
290 bool tipc_link_is_up(struct tipc_link *l) in tipc_link_is_up()
295 bool tipc_link_peer_is_down(struct tipc_link *l) in tipc_link_peer_is_down()
300 bool tipc_link_is_reset(struct tipc_link *l) in tipc_link_is_reset()
305 bool tipc_link_is_establishing(struct tipc_link *l) in tipc_link_is_establishing()
310 bool tipc_link_is_synching(struct tipc_link *l) in tipc_link_is_synching()
315 bool tipc_link_is_failingover(struct tipc_link *l) in tipc_link_is_failingover()
320 bool tipc_link_is_blocked(struct tipc_link *l) in tipc_link_is_blocked()
325 static bool link_is_bc_sndlink(struct tipc_link *l) in link_is_bc_sndlink()
330 static bool link_is_bc_rcvlink(struct tipc_link *l) in link_is_bc_rcvlink()
335 void tipc_link_set_active(struct tipc_link *l, bool active) in tipc_link_set_active()
340 u32 tipc_link_id(struct tipc_link *l) in tipc_link_id()
345 int tipc_link_min_win(struct tipc_link *l) in tipc_link_min_win()
350 int tipc_link_max_win(struct tipc_link *l) in tipc_link_max_win()
355 int tipc_link_prio(struct tipc_link *l) in tipc_link_prio()
360 unsigned long tipc_link_tolerance(struct tipc_link *l) in tipc_link_tolerance()
365 struct sk_buff_head *tipc_link_inputq(struct tipc_link *l) in tipc_link_inputq()
370 char tipc_link_plane(struct tipc_link *l) in tipc_link_plane()
375 struct net *tipc_link_net(struct tipc_link *l) in tipc_link_net()
380 void tipc_link_update_caps(struct tipc_link *l, u16 capabilities) in tipc_link_update_caps()
385 void tipc_link_add_bc_peer(struct tipc_link *snd_l, in tipc_link_add_bc_peer()
386 struct tipc_link *uc_l, in tipc_link_add_bc_peer()
389 struct tipc_link *rcv_l = uc_l->bc_rcvlink; in tipc_link_add_bc_peer()
397 void tipc_link_remove_bc_peer(struct tipc_link *snd_l, in tipc_link_remove_bc_peer()
398 struct tipc_link *rcv_l, in tipc_link_remove_bc_peer()
418 int tipc_link_bc_peers(struct tipc_link *l) in tipc_link_bc_peers()
423 static u16 link_bc_rcv_gap(struct tipc_link *l) in link_bc_rcv_gap()
435 void tipc_link_set_mtu(struct tipc_link *l, int mtu) in tipc_link_set_mtu()
440 int tipc_link_mtu(struct tipc_link *l) in tipc_link_mtu()
445 int tipc_link_mss(struct tipc_link *l) in tipc_link_mss()
454 u16 tipc_link_rcv_nxt(struct tipc_link *l) in tipc_link_rcv_nxt()
459 u16 tipc_link_acked(struct tipc_link *l) in tipc_link_acked()
464 char *tipc_link_name(struct tipc_link *l) in tipc_link_name()
469 u32 tipc_link_state(struct tipc_link *l) in tipc_link_state()
502 struct tipc_link *bc_sndlink, in tipc_link_create()
503 struct tipc_link *bc_rcvlink, in tipc_link_create()
506 struct tipc_link **link) in tipc_link_create()
510 struct tipc_link *l; in tipc_link_create()
581 struct tipc_link *bc_sndlink, in tipc_link_bc_create()
582 struct tipc_link **link) in tipc_link_bc_create()
584 struct tipc_link *l; in tipc_link_bc_create()
626 int tipc_link_fsm_evt(struct tipc_link *l, int evt) in tipc_link_fsm_evt()
788 static void link_profile_stats(struct tipc_link *l) in link_profile_stats()
834 bool tipc_link_too_silent(struct tipc_link *l) in tipc_link_too_silent()
841 int tipc_link_timeout(struct tipc_link *l, struct sk_buff_head *xmitq) in tipc_link_timeout()
906 static int link_schedule_user(struct tipc_link *l, struct tipc_msg *hdr) in link_schedule_user()
931 static void link_prepare_wakeup(struct tipc_link *l) in link_prepare_wakeup()
967 struct tipc_link *l) in tipc_link_set_skb_retransmit_time()
975 void tipc_link_reset(struct tipc_link *l) in tipc_link_reset()
1036 int tipc_link_xmit(struct tipc_link *l, struct sk_buff_head *list, in tipc_link_xmit()
1128 static void tipc_link_update_cwin(struct tipc_link *l, int released, in tipc_link_update_cwin()
1170 static void tipc_link_advance_backlog(struct tipc_link *l, in tipc_link_advance_backlog()
1219 static bool link_retransmit_failure(struct tipc_link *l, struct tipc_link *r, in link_retransmit_failure()
1268 static bool tipc_data_input(struct tipc_link *l, struct sk_buff *skb, in tipc_data_input()
1319 static int tipc_link_input(struct tipc_link *l, struct sk_buff *skb, in tipc_link_input()
1364 static int tipc_link_tnl_rcv(struct tipc_link *l, struct sk_buff *skb, in tipc_link_tnl_rcv()
1438 u16 tipc_get_gap_ack_blks(struct tipc_gap_ack_blks **ga, struct tipc_link *l, in tipc_get_gap_ack_blks()
1470 struct tipc_link *l, u8 start_index) in __tipc_build_gap_ack_blks()
1516 static u16 tipc_build_gap_ack_blks(struct tipc_link *l, struct tipc_msg *hdr) in tipc_build_gap_ack_blks()
1518 struct tipc_link *bcl = l->bc_rcvlink; in tipc_build_gap_ack_blks()
1556 static int tipc_link_advance_transmq(struct tipc_link *l, struct tipc_link *r, in tipc_link_advance_transmq()
1712 int tipc_link_build_state_msg(struct tipc_link *l, struct sk_buff_head *xmitq) in tipc_link_build_state_msg()
1736 void tipc_link_build_reset_msg(struct tipc_link *l, struct sk_buff_head *xmitq) in tipc_link_build_reset_msg()
1756 static int tipc_link_build_nack_msg(struct tipc_link *l, in tipc_link_build_nack_msg()
1786 int tipc_link_rcv(struct tipc_link *l, struct sk_buff *skb, in tipc_link_rcv()
1856 static void tipc_link_build_proto_msg(struct tipc_link *l, int mtyp, bool probe, in tipc_link_build_proto_msg()
1863 struct tipc_link *bcl = l->bc_rcvlink; in tipc_link_build_proto_msg()
1940 void tipc_link_create_dummy_tnl_msg(struct tipc_link *l, in tipc_link_create_dummy_tnl_msg()
1973 void tipc_link_tnl_prepare(struct tipc_link *l, struct tipc_link *tnl, in tipc_link_tnl_prepare()
2127 void tipc_link_failover_prepare(struct tipc_link *l, struct tipc_link *tnl, in tipc_link_failover_prepare()
2154 bool tipc_link_validate_msg(struct tipc_link *l, struct tipc_msg *hdr) in tipc_link_validate_msg()
2197 static int tipc_link_proto_rcv(struct tipc_link *l, struct sk_buff *skb, in tipc_link_proto_rcv()
2355 static bool tipc_link_build_bc_proto_msg(struct tipc_link *l, bool bcast, in tipc_link_build_bc_proto_msg()
2386 static void tipc_link_build_bc_init_msg(struct tipc_link *l, in tipc_link_build_bc_init_msg()
2400 void tipc_link_bc_init_rcv(struct tipc_link *l, struct tipc_msg *hdr) in tipc_link_bc_init_rcv()
2427 int tipc_link_bc_sync_rcv(struct tipc_link *l, struct tipc_msg *hdr, in tipc_link_bc_sync_rcv()
2484 int tipc_link_bc_ack_rcv(struct tipc_link *r, u16 acked, u16 gap, in tipc_link_bc_ack_rcv()
2489 struct tipc_link *l = r->bc_sndlink; in tipc_link_bc_ack_rcv()
2518 int tipc_link_bc_nack_rcv(struct tipc_link *l, struct sk_buff *skb, in tipc_link_bc_nack_rcv()
2552 void tipc_link_set_queue_limits(struct tipc_link *l, u32 min_win, u32 max_win) in tipc_link_set_queue_limits()
2571 void tipc_link_reset_stats(struct tipc_link *l) in tipc_link_reset_stats()
2576 static void link_print(struct tipc_link *l, const char *str) in link_print()
2693 struct tipc_link *link, int nlflags) in __tipc_nl_add_link()
2813 struct tipc_link *bcl) in tipc_nl_add_bc_link()
2885 void tipc_link_set_tolerance(struct tipc_link *l, u32 tol, in tipc_link_set_tolerance()
2895 void tipc_link_set_prio(struct tipc_link *l, u32 prio, in tipc_link_set_prio()
2902 void tipc_link_set_abort_limit(struct tipc_link *l, u32 limit) in tipc_link_set_abort_limit()
2920 int tipc_link_dump(struct tipc_link *l, u16 dqueues, char *buf) in tipc_link_dump()