Lines Matching refs:mtyp
268 static void tipc_link_build_proto_msg(struct tipc_link *l, int mtyp, bool probe,
843 int mtyp = 0; in tipc_link_timeout() local
857 mtyp = STATE_MSG; in tipc_link_timeout()
880 mtyp = RESET_MSG; in tipc_link_timeout()
884 mtyp = ACTIVATE_MSG; in tipc_link_timeout()
895 tipc_link_build_proto_msg(l, mtyp, probe, 0, 0, 0, 0, xmitq); in tipc_link_timeout()
1737 int mtyp = RESET_MSG; in tipc_link_build_reset_msg() local
1741 mtyp = ACTIVATE_MSG; in tipc_link_build_reset_msg()
1743 tipc_link_build_proto_msg(l, mtyp, 0, 0, 0, 0, 0, xmitq); in tipc_link_build_reset_msg()
1855 static void tipc_link_build_proto_msg(struct tipc_link *l, int mtyp, bool probe, in tipc_link_build_proto_msg() argument
1874 if (!tipc_link_is_up(l) && (mtyp == STATE_MSG)) in tipc_link_build_proto_msg()
1880 skb = tipc_msg_create(LINK_PROTOCOL, mtyp, INT_H_SIZE, in tipc_link_build_proto_msg()
1902 if (mtyp == STATE_MSG) { in tipc_link_build_proto_msg()
1919 if (mtyp == ACTIVATE_MSG) { in tipc_link_build_proto_msg()
1973 int mtyp, struct sk_buff_head *xmitq) in tipc_link_tnl_prepare() argument
1994 if (mtyp == SYNCH_MSG && (tnl->peer_caps & TIPC_TUNNEL_ENHANCED)) { in tipc_link_tnl_prepare()
2030 mtyp, INT_H_SIZE, l->addr); in tipc_link_tnl_prepare()
2031 if (mtyp == SYNCH_MSG) in tipc_link_tnl_prepare()
2055 if (mtyp == FAILOVER_MSG && in tipc_link_tnl_prepare()
2101 if (mtyp == FAILOVER_MSG) { in tipc_link_tnl_prepare()
2157 int mtyp = msg_type(hdr); in tipc_link_validate_msg() local
2162 switch (mtyp) { in tipc_link_validate_msg()
2210 int mtyp = msg_type(hdr); in tipc_link_proto_rcv() local
2232 switch (mtyp) { in tipc_link_proto_rcv()
2261 if (mtyp == ACTIVATE_MSG && msg_dest_session_valid(hdr) && in tipc_link_proto_rcv()
2269 if (mtyp == RESET_MSG || !link_is_up(l)) in tipc_link_proto_rcv()
2273 if (mtyp == ACTIVATE_MSG && l->state == LINK_ESTABLISHING) in tipc_link_proto_rcv()
2390 int mtyp = msg_type(hdr); in tipc_link_bc_init_rcv() local
2409 if ((mtyp == RESET_MSG) || (mtyp == ACTIVATE_MSG)) in tipc_link_bc_init_rcv()
2511 int mtyp = msg_type(hdr); in tipc_link_bc_nack_rcv() local
2523 if (mtyp != STATE_MSG) in tipc_link_bc_nack_rcv()