Lines Matching refs:mtyp

237 static void tipc_link_build_proto_msg(struct tipc_link *l, int mtyp, bool probe,
769 int mtyp = 0; in tipc_link_timeout() local
783 mtyp = STATE_MSG; in tipc_link_timeout()
801 mtyp = RESET_MSG; in tipc_link_timeout()
805 mtyp = ACTIVATE_MSG; in tipc_link_timeout()
816 tipc_link_build_proto_msg(l, mtyp, probe, 0, 0, 0, 0, xmitq); in tipc_link_timeout()
1490 int mtyp = RESET_MSG; in tipc_link_build_reset_msg() local
1494 mtyp = ACTIVATE_MSG; in tipc_link_build_reset_msg()
1496 tipc_link_build_proto_msg(l, mtyp, 0, 0, 0, 0, 0, xmitq); in tipc_link_build_reset_msg()
1600 static void tipc_link_build_proto_msg(struct tipc_link *l, int mtyp, bool probe, in tipc_link_build_proto_msg() argument
1619 if (!tipc_link_is_up(l) && (mtyp == STATE_MSG)) in tipc_link_build_proto_msg()
1625 skb = tipc_msg_create(LINK_PROTOCOL, mtyp, INT_H_SIZE, in tipc_link_build_proto_msg()
1647 if (mtyp == STATE_MSG) { in tipc_link_build_proto_msg()
1663 if (mtyp == ACTIVATE_MSG) { in tipc_link_build_proto_msg()
1715 int mtyp, struct sk_buff_head *xmitq) in tipc_link_tnl_prepare() argument
1751 if (mtyp == SYNCH_MSG && (tnl->peer_caps & TIPC_TUNNEL_ENHANCED)) { in tipc_link_tnl_prepare()
1773 mtyp, INT_H_SIZE, l->addr); in tipc_link_tnl_prepare()
1774 if (mtyp == SYNCH_MSG) in tipc_link_tnl_prepare()
1798 if (mtyp == FAILOVER_MSG && in tipc_link_tnl_prepare()
1844 if (mtyp == FAILOVER_MSG) { in tipc_link_tnl_prepare()
1900 int mtyp = msg_type(hdr); in tipc_link_validate_msg() local
1905 switch (mtyp) { in tipc_link_validate_msg()
1952 int mtyp = msg_type(hdr); in tipc_link_proto_rcv() local
1976 switch (mtyp) { in tipc_link_proto_rcv()
2005 if (mtyp == ACTIVATE_MSG && msg_dest_session_valid(hdr) && in tipc_link_proto_rcv()
2013 if (mtyp == RESET_MSG || !link_is_up(l)) in tipc_link_proto_rcv()
2017 if (mtyp == ACTIVATE_MSG && l->state == LINK_ESTABLISHING) in tipc_link_proto_rcv()
2136 int mtyp = msg_type(hdr); in tipc_link_bc_init_rcv() local
2155 if ((mtyp == RESET_MSG) || (mtyp == ACTIVATE_MSG)) in tipc_link_bc_init_rcv()
2268 int mtyp = msg_type(hdr); in tipc_link_bc_nack_rcv() local
2280 if (mtyp != STATE_MSG) in tipc_link_bc_nack_rcv()