Lines Matching refs:tipc_link

137 struct tipc_link {  struct
206 struct tipc_link *bc_rcvlink; argument
207 struct tipc_link *bc_sndlink; argument
244 static int tipc_link_proto_rcv(struct tipc_link *l, struct sk_buff *skb,
246 static void tipc_link_build_proto_msg(struct tipc_link *l, int mtyp, bool probe,
250 static void link_print(struct tipc_link *l, const char *str);
251 static int tipc_link_build_nack_msg(struct tipc_link *l,
253 static void tipc_link_build_bc_init_msg(struct tipc_link *l,
256 struct tipc_link *l, u8 start_index);
257 static u16 tipc_build_gap_ack_blks(struct tipc_link *l, struct tipc_msg *hdr);
258 static int tipc_link_advance_transmq(struct tipc_link *l, struct tipc_link *r,
263 static void tipc_link_update_cwin(struct tipc_link *l, int released,
268 bool tipc_link_is_up(struct tipc_link *l) in tipc_link_is_up()
273 bool tipc_link_peer_is_down(struct tipc_link *l) in tipc_link_peer_is_down()
278 bool tipc_link_is_reset(struct tipc_link *l) in tipc_link_is_reset()
283 bool tipc_link_is_establishing(struct tipc_link *l) in tipc_link_is_establishing()
288 bool tipc_link_is_synching(struct tipc_link *l) in tipc_link_is_synching()
293 bool tipc_link_is_failingover(struct tipc_link *l) in tipc_link_is_failingover()
298 bool tipc_link_is_blocked(struct tipc_link *l) in tipc_link_is_blocked()
303 static bool link_is_bc_sndlink(struct tipc_link *l) in link_is_bc_sndlink()
308 static bool link_is_bc_rcvlink(struct tipc_link *l) in link_is_bc_rcvlink()
313 void tipc_link_set_active(struct tipc_link *l, bool active) in tipc_link_set_active()
318 u32 tipc_link_id(struct tipc_link *l) in tipc_link_id()
323 int tipc_link_min_win(struct tipc_link *l) in tipc_link_min_win()
328 int tipc_link_max_win(struct tipc_link *l) in tipc_link_max_win()
333 int tipc_link_prio(struct tipc_link *l) in tipc_link_prio()
338 unsigned long tipc_link_tolerance(struct tipc_link *l) in tipc_link_tolerance()
343 struct sk_buff_head *tipc_link_inputq(struct tipc_link *l) in tipc_link_inputq()
348 char tipc_link_plane(struct tipc_link *l) in tipc_link_plane()
353 struct net *tipc_link_net(struct tipc_link *l) in tipc_link_net()
358 void tipc_link_update_caps(struct tipc_link *l, u16 capabilities) in tipc_link_update_caps()
363 void tipc_link_add_bc_peer(struct tipc_link *snd_l, in tipc_link_add_bc_peer()
364 struct tipc_link *uc_l, in tipc_link_add_bc_peer()
367 struct tipc_link *rcv_l = uc_l->bc_rcvlink; in tipc_link_add_bc_peer()
375 void tipc_link_remove_bc_peer(struct tipc_link *snd_l, in tipc_link_remove_bc_peer()
376 struct tipc_link *rcv_l, in tipc_link_remove_bc_peer()
396 int tipc_link_bc_peers(struct tipc_link *l) in tipc_link_bc_peers()
401 static u16 link_bc_rcv_gap(struct tipc_link *l) in link_bc_rcv_gap()
413 void tipc_link_set_mtu(struct tipc_link *l, int mtu) in tipc_link_set_mtu()
418 int tipc_link_mtu(struct tipc_link *l) in tipc_link_mtu()
423 int tipc_link_mss(struct tipc_link *l) in tipc_link_mss()
432 u16 tipc_link_rcv_nxt(struct tipc_link *l) in tipc_link_rcv_nxt()
437 u16 tipc_link_acked(struct tipc_link *l) in tipc_link_acked()
442 char *tipc_link_name(struct tipc_link *l) in tipc_link_name()
447 u32 tipc_link_state(struct tipc_link *l) in tipc_link_state()
480 struct tipc_link *bc_sndlink, in tipc_link_create()
481 struct tipc_link *bc_rcvlink, in tipc_link_create()
484 struct tipc_link **link) in tipc_link_create()
488 struct tipc_link *l; in tipc_link_create()
559 struct tipc_link *bc_sndlink, in tipc_link_bc_create()
560 struct tipc_link **link) in tipc_link_bc_create()
562 struct tipc_link *l; in tipc_link_bc_create()
604 int tipc_link_fsm_evt(struct tipc_link *l, int evt) in tipc_link_fsm_evt()
766 static void link_profile_stats(struct tipc_link *l) in link_profile_stats()
812 bool tipc_link_too_silent(struct tipc_link *l) in tipc_link_too_silent()
819 int tipc_link_timeout(struct tipc_link *l, struct sk_buff_head *xmitq) in tipc_link_timeout()
884 static int link_schedule_user(struct tipc_link *l, struct tipc_msg *hdr) in link_schedule_user()
909 static void link_prepare_wakeup(struct tipc_link *l) in link_prepare_wakeup()
945 struct tipc_link *l) in tipc_link_set_skb_retransmit_time()
953 void tipc_link_reset(struct tipc_link *l) in tipc_link_reset()
1014 int tipc_link_xmit(struct tipc_link *l, struct sk_buff_head *list, in tipc_link_xmit()
1106 static void tipc_link_update_cwin(struct tipc_link *l, int released, in tipc_link_update_cwin()
1148 static void tipc_link_advance_backlog(struct tipc_link *l, in tipc_link_advance_backlog()
1197 static bool link_retransmit_failure(struct tipc_link *l, struct tipc_link *r, in link_retransmit_failure()
1246 static bool tipc_data_input(struct tipc_link *l, struct sk_buff *skb, in tipc_data_input()
1297 static int tipc_link_input(struct tipc_link *l, struct sk_buff *skb, in tipc_link_input()
1342 static int tipc_link_tnl_rcv(struct tipc_link *l, struct sk_buff *skb, in tipc_link_tnl_rcv()
1416 u16 tipc_get_gap_ack_blks(struct tipc_gap_ack_blks **ga, struct tipc_link *l, in tipc_get_gap_ack_blks()
1448 struct tipc_link *l, u8 start_index) in __tipc_build_gap_ack_blks()
1494 static u16 tipc_build_gap_ack_blks(struct tipc_link *l, struct tipc_msg *hdr) in tipc_build_gap_ack_blks()
1496 struct tipc_link *bcl = l->bc_rcvlink; in tipc_build_gap_ack_blks()
1534 static int tipc_link_advance_transmq(struct tipc_link *l, struct tipc_link *r, in tipc_link_advance_transmq()
1690 int tipc_link_build_state_msg(struct tipc_link *l, struct sk_buff_head *xmitq) in tipc_link_build_state_msg()
1714 void tipc_link_build_reset_msg(struct tipc_link *l, struct sk_buff_head *xmitq) in tipc_link_build_reset_msg()
1734 static int tipc_link_build_nack_msg(struct tipc_link *l, in tipc_link_build_nack_msg()
1764 int tipc_link_rcv(struct tipc_link *l, struct sk_buff *skb, in tipc_link_rcv()
1834 static void tipc_link_build_proto_msg(struct tipc_link *l, int mtyp, bool probe, in tipc_link_build_proto_msg()
1841 struct tipc_link *bcl = l->bc_rcvlink; in tipc_link_build_proto_msg()
1918 void tipc_link_create_dummy_tnl_msg(struct tipc_link *l, in tipc_link_create_dummy_tnl_msg()
1951 void tipc_link_tnl_prepare(struct tipc_link *l, struct tipc_link *tnl, in tipc_link_tnl_prepare()
2105 void tipc_link_failover_prepare(struct tipc_link *l, struct tipc_link *tnl, in tipc_link_failover_prepare()
2132 bool tipc_link_validate_msg(struct tipc_link *l, struct tipc_msg *hdr) in tipc_link_validate_msg()
2175 static int tipc_link_proto_rcv(struct tipc_link *l, struct sk_buff *skb, in tipc_link_proto_rcv()
2333 static bool tipc_link_build_bc_proto_msg(struct tipc_link *l, bool bcast, in tipc_link_build_bc_proto_msg()
2364 static void tipc_link_build_bc_init_msg(struct tipc_link *l, in tipc_link_build_bc_init_msg()
2378 void tipc_link_bc_init_rcv(struct tipc_link *l, struct tipc_msg *hdr) in tipc_link_bc_init_rcv()
2405 int tipc_link_bc_sync_rcv(struct tipc_link *l, struct tipc_msg *hdr, in tipc_link_bc_sync_rcv()
2462 int tipc_link_bc_ack_rcv(struct tipc_link *r, u16 acked, u16 gap, in tipc_link_bc_ack_rcv()
2467 struct tipc_link *l = r->bc_sndlink; in tipc_link_bc_ack_rcv()
2496 int tipc_link_bc_nack_rcv(struct tipc_link *l, struct sk_buff *skb, in tipc_link_bc_nack_rcv()
2530 void tipc_link_set_queue_limits(struct tipc_link *l, u32 min_win, u32 max_win) in tipc_link_set_queue_limits()
2549 void tipc_link_reset_stats(struct tipc_link *l) in tipc_link_reset_stats()
2554 static void link_print(struct tipc_link *l, const char *str) in link_print()
2671 struct tipc_link *link, int nlflags) in __tipc_nl_add_link()
2791 struct tipc_link *bcl) in tipc_nl_add_bc_link()
2863 void tipc_link_set_tolerance(struct tipc_link *l, u32 tol, in tipc_link_set_tolerance()
2873 void tipc_link_set_prio(struct tipc_link *l, u32 prio, in tipc_link_set_prio()
2880 void tipc_link_set_abort_limit(struct tipc_link *l, u32 limit) in tipc_link_set_abort_limit()
2898 int tipc_link_dump(struct tipc_link *l, u16 dqueues, char *buf) in tipc_link_dump()