Lines Matching refs:msg2
736 struct msg *msg = NULL, *msg2 = NULL; in rpc_test() local
797 msg2 = msg_new(); in rpc_test()
798 if (evtag_unmarshal_msg(tmp, 0xdeaf, msg2) == -1) in rpc_test()
807 if (!EVTAG_HAS(msg2, from_name) || in rpc_test()
808 !EVTAG_HAS(msg2, to_name) || in rpc_test()
809 !EVTAG_HAS(msg2, attack)) { in rpc_test()
813 if (EVTAG_GET(msg2, attack, &attack) == -1) { in rpc_test()
817 if (EVTAG_ARRAY_LEN(msg2, run) != i) { in rpc_test()
822 if (EVTAG_ARRAY_GET(msg2, run, 0, &run) == -1) { in rpc_test()
876 if (msg2) in rpc_test()
877 msg_free(msg2); in rpc_test()