Lines Matching refs:mtyp
246 static void tipc_link_build_proto_msg(struct tipc_link *l, int mtyp, bool probe,
821 int mtyp = 0; in tipc_link_timeout() local
835 mtyp = STATE_MSG; in tipc_link_timeout()
858 mtyp = RESET_MSG; in tipc_link_timeout()
862 mtyp = ACTIVATE_MSG; in tipc_link_timeout()
873 tipc_link_build_proto_msg(l, mtyp, probe, 0, 0, 0, 0, xmitq); in tipc_link_timeout()
1717 int mtyp = RESET_MSG; in tipc_link_build_reset_msg() local
1721 mtyp = ACTIVATE_MSG; in tipc_link_build_reset_msg()
1723 tipc_link_build_proto_msg(l, mtyp, 0, 0, 0, 0, 0, xmitq); in tipc_link_build_reset_msg()
1835 static void tipc_link_build_proto_msg(struct tipc_link *l, int mtyp, bool probe, in tipc_link_build_proto_msg() argument
1854 if (!tipc_link_is_up(l) && (mtyp == STATE_MSG)) in tipc_link_build_proto_msg()
1860 skb = tipc_msg_create(LINK_PROTOCOL, mtyp, INT_H_SIZE, in tipc_link_build_proto_msg()
1882 if (mtyp == STATE_MSG) { in tipc_link_build_proto_msg()
1899 if (mtyp == ACTIVATE_MSG) { in tipc_link_build_proto_msg()
1953 int mtyp, struct sk_buff_head *xmitq) in tipc_link_tnl_prepare() argument
1973 if (mtyp == SYNCH_MSG && (tnl->peer_caps & TIPC_TUNNEL_ENHANCED)) { in tipc_link_tnl_prepare()
2009 mtyp, INT_H_SIZE, l->addr); in tipc_link_tnl_prepare()
2010 if (mtyp == SYNCH_MSG) in tipc_link_tnl_prepare()
2034 if (mtyp == FAILOVER_MSG && in tipc_link_tnl_prepare()
2080 if (mtyp == FAILOVER_MSG) { in tipc_link_tnl_prepare()
2138 int mtyp = msg_type(hdr); in tipc_link_validate_msg() local
2143 switch (mtyp) { in tipc_link_validate_msg()
2191 int mtyp = msg_type(hdr); in tipc_link_proto_rcv() local
2219 switch (mtyp) { in tipc_link_proto_rcv()
2251 if (mtyp == ACTIVATE_MSG && msg_dest_session_valid(hdr) && in tipc_link_proto_rcv()
2259 if (mtyp == RESET_MSG || !tipc_link_is_up(l)) in tipc_link_proto_rcv()
2263 if (mtyp == ACTIVATE_MSG && l->state == LINK_ESTABLISHING) in tipc_link_proto_rcv()
2382 int mtyp = msg_type(hdr); in tipc_link_bc_init_rcv() local
2401 if ((mtyp == RESET_MSG) || (mtyp == ACTIVATE_MSG)) in tipc_link_bc_init_rcv()
2503 int mtyp = msg_type(hdr); in tipc_link_bc_nack_rcv() local
2515 if (mtyp != STATE_MSG) in tipc_link_bc_nack_rcv()