Lines Matching refs:tipc_link

123 struct tipc_link {  struct
185 struct tipc_link *bc_rcvlink; argument
186 struct tipc_link *bc_sndlink; argument
230 static int link_is_up(struct tipc_link *l) in link_is_up()
235 static int tipc_link_proto_rcv(struct tipc_link *l, struct sk_buff *skb,
237 static void tipc_link_build_proto_msg(struct tipc_link *l, int mtyp, bool probe,
241 static void link_print(struct tipc_link *l, const char *str);
242 static int tipc_link_build_nack_msg(struct tipc_link *l,
244 static void tipc_link_build_bc_init_msg(struct tipc_link *l,
246 static bool tipc_link_release_pkts(struct tipc_link *l, u16 to);
247 static u16 tipc_build_gap_ack_blks(struct tipc_link *l, void *data);
248 static int tipc_link_advance_transmq(struct tipc_link *l, u16 acked, u16 gap,
255 bool tipc_link_is_up(struct tipc_link *l) in tipc_link_is_up()
260 bool tipc_link_peer_is_down(struct tipc_link *l) in tipc_link_peer_is_down()
265 bool tipc_link_is_reset(struct tipc_link *l) in tipc_link_is_reset()
270 bool tipc_link_is_establishing(struct tipc_link *l) in tipc_link_is_establishing()
275 bool tipc_link_is_synching(struct tipc_link *l) in tipc_link_is_synching()
280 bool tipc_link_is_failingover(struct tipc_link *l) in tipc_link_is_failingover()
285 bool tipc_link_is_blocked(struct tipc_link *l) in tipc_link_is_blocked()
290 static bool link_is_bc_sndlink(struct tipc_link *l) in link_is_bc_sndlink()
295 static bool link_is_bc_rcvlink(struct tipc_link *l) in link_is_bc_rcvlink()
300 void tipc_link_set_active(struct tipc_link *l, bool active) in tipc_link_set_active()
305 u32 tipc_link_id(struct tipc_link *l) in tipc_link_id()
310 int tipc_link_window(struct tipc_link *l) in tipc_link_window()
315 int tipc_link_prio(struct tipc_link *l) in tipc_link_prio()
320 unsigned long tipc_link_tolerance(struct tipc_link *l) in tipc_link_tolerance()
325 struct sk_buff_head *tipc_link_inputq(struct tipc_link *l) in tipc_link_inputq()
330 char tipc_link_plane(struct tipc_link *l) in tipc_link_plane()
335 void tipc_link_update_caps(struct tipc_link *l, u16 capabilities) in tipc_link_update_caps()
340 void tipc_link_add_bc_peer(struct tipc_link *snd_l, in tipc_link_add_bc_peer()
341 struct tipc_link *uc_l, in tipc_link_add_bc_peer()
344 struct tipc_link *rcv_l = uc_l->bc_rcvlink; in tipc_link_add_bc_peer()
352 void tipc_link_remove_bc_peer(struct tipc_link *snd_l, in tipc_link_remove_bc_peer()
353 struct tipc_link *rcv_l, in tipc_link_remove_bc_peer()
373 int tipc_link_bc_peers(struct tipc_link *l) in tipc_link_bc_peers()
378 static u16 link_bc_rcv_gap(struct tipc_link *l) in link_bc_rcv_gap()
390 void tipc_link_set_mtu(struct tipc_link *l, int mtu) in tipc_link_set_mtu()
395 int tipc_link_mtu(struct tipc_link *l) in tipc_link_mtu()
400 u16 tipc_link_rcv_nxt(struct tipc_link *l) in tipc_link_rcv_nxt()
405 u16 tipc_link_acked(struct tipc_link *l) in tipc_link_acked()
410 char *tipc_link_name(struct tipc_link *l) in tipc_link_name()
415 u32 tipc_link_state(struct tipc_link *l) in tipc_link_state()
446 struct tipc_link *bc_sndlink, in tipc_link_create()
447 struct tipc_link *bc_rcvlink, in tipc_link_create()
450 struct tipc_link **link) in tipc_link_create()
454 struct tipc_link *l; in tipc_link_create()
519 struct tipc_link *bc_sndlink, in tipc_link_bc_create()
520 struct tipc_link **link) in tipc_link_bc_create()
522 struct tipc_link *l; in tipc_link_bc_create()
553 int tipc_link_fsm_evt(struct tipc_link *l, int evt) in tipc_link_fsm_evt()
714 static void link_profile_stats(struct tipc_link *l) in link_profile_stats()
760 bool tipc_link_too_silent(struct tipc_link *l) in tipc_link_too_silent()
767 int tipc_link_timeout(struct tipc_link *l, struct sk_buff_head *xmitq) in tipc_link_timeout()
827 static int link_schedule_user(struct tipc_link *l, struct tipc_msg *hdr) in link_schedule_user()
852 static void link_prepare_wakeup(struct tipc_link *l) in link_prepare_wakeup()
881 void tipc_link_reset(struct tipc_link *l) in tipc_link_reset()
939 int tipc_link_xmit(struct tipc_link *l, struct sk_buff_head *list, in tipc_link_xmit()
1025 static void tipc_link_advance_backlog(struct tipc_link *l, in tipc_link_advance_backlog()
1074 static bool link_retransmit_failure(struct tipc_link *l, struct tipc_link *r, in link_retransmit_failure()
1125 static int tipc_link_bc_retrans(struct tipc_link *l, struct tipc_link *r, in tipc_link_bc_retrans()
1176 static bool tipc_data_input(struct tipc_link *l, struct sk_buff *skb, in tipc_data_input()
1218 static int tipc_link_input(struct tipc_link *l, struct sk_buff *skb, in tipc_link_input()
1263 static int tipc_link_tnl_rcv(struct tipc_link *l, struct sk_buff *skb, in tipc_link_tnl_rcv()
1328 static bool tipc_link_release_pkts(struct tipc_link *l, u16 acked) in tipc_link_release_pkts()
1349 static u16 tipc_build_gap_ack_blks(struct tipc_link *l, void *data) in tipc_build_gap_ack_blks()
1400 static int tipc_link_advance_transmq(struct tipc_link *l, u16 acked, u16 gap, in tipc_link_advance_transmq()
1463 int tipc_link_build_state_msg(struct tipc_link *l, struct sk_buff_head *xmitq) in tipc_link_build_state_msg()
1488 void tipc_link_build_reset_msg(struct tipc_link *l, struct sk_buff_head *xmitq) in tipc_link_build_reset_msg()
1508 static int tipc_link_build_nack_msg(struct tipc_link *l, in tipc_link_build_nack_msg()
1533 int tipc_link_rcv(struct tipc_link *l, struct sk_buff *skb, in tipc_link_rcv()
1600 static void tipc_link_build_proto_msg(struct tipc_link *l, int mtyp, bool probe, in tipc_link_build_proto_msg()
1605 struct tipc_link *bcl = l->bc_rcvlink; in tipc_link_build_proto_msg()
1681 void tipc_link_create_dummy_tnl_msg(struct tipc_link *l, in tipc_link_create_dummy_tnl_msg()
1714 void tipc_link_tnl_prepare(struct tipc_link *l, struct tipc_link *tnl, in tipc_link_tnl_prepare()
1869 void tipc_link_failover_prepare(struct tipc_link *l, struct tipc_link *tnl, in tipc_link_failover_prepare()
1896 bool tipc_link_validate_msg(struct tipc_link *l, struct tipc_msg *hdr) in tipc_link_validate_msg()
1939 static int tipc_link_proto_rcv(struct tipc_link *l, struct sk_buff *skb, in tipc_link_proto_rcv()
2089 static bool tipc_link_build_bc_proto_msg(struct tipc_link *l, bool bcast, in tipc_link_build_bc_proto_msg()
2120 static void tipc_link_build_bc_init_msg(struct tipc_link *l, in tipc_link_build_bc_init_msg()
2134 void tipc_link_bc_init_rcv(struct tipc_link *l, struct tipc_msg *hdr) in tipc_link_bc_init_rcv()
2161 int tipc_link_bc_sync_rcv(struct tipc_link *l, struct tipc_msg *hdr, in tipc_link_bc_sync_rcv()
2164 struct tipc_link *snd_l = l->bc_sndlink; in tipc_link_bc_sync_rcv()
2225 void tipc_link_bc_ack_rcv(struct tipc_link *l, u16 acked, in tipc_link_bc_ack_rcv()
2229 struct tipc_link *snd_l = l->bc_sndlink; in tipc_link_bc_ack_rcv()
2263 int tipc_link_bc_nack_rcv(struct tipc_link *l, struct sk_buff *skb, in tipc_link_bc_nack_rcv()
2297 void tipc_link_set_queue_limits(struct tipc_link *l, u32 win) in tipc_link_set_queue_limits()
2313 void tipc_link_reset_stats(struct tipc_link *l) in tipc_link_reset_stats()
2318 static void link_print(struct tipc_link *l, const char *str) in link_print()
2435 struct tipc_link *link, int nlflags) in __tipc_nl_add_link()
2563 struct tipc_link *bcl = tn->bcl; in tipc_nl_add_bc_link()
2628 void tipc_link_set_tolerance(struct tipc_link *l, u32 tol, in tipc_link_set_tolerance()
2638 void tipc_link_set_prio(struct tipc_link *l, u32 prio, in tipc_link_set_prio()
2645 void tipc_link_set_abort_limit(struct tipc_link *l, u32 limit) in tipc_link_set_abort_limit()
2650 char *tipc_link_name_ext(struct tipc_link *l, char *buf) in tipc_link_name_ext()
2678 int tipc_link_dump(struct tipc_link *l, u16 dqueues, char *buf) in tipc_link_dump()