static int same_client(void *a, void *b) { WSPMachine *sm1, *sm2; sm1 = a; sm2 = b; return wap_addr_tuple_same(sm1->addr_tuple, sm2->addr_tuple); }
static int transaction_belongs_to_session(void *wsp_ptr, void *tuple_ptr) { WSPMachine *wsp; WAPAddrTuple *tuple; wsp = wsp_ptr; tuple = tuple_ptr; return wap_addr_tuple_same(wsp->addr_tuple, tuple); }
static int tid_is_cached(void *a, void *b) { WAPAddrTuple *initiator_profile; WTPCached_tid *item; item = a; initiator_profile = b; return wap_addr_tuple_same(item->addr_tuple, initiator_profile); }
static int is_wanted_wtls_machine(void *a, void *b) { machine_pattern *pat; WTLSMachine *m; m = a; pat = b; if (m->mid == pat->mid) return 1; if (pat->mid != -1) return 0; return wap_addr_tuple_same(m->addr_tuple, pat->tuple); }
static int is_wanted_init_machine(void *a, void *b) { struct machine_pattern *pat; WTPInitMachine *m; m = a; pat = b; if (m->mid == pat->mid) return 1; if (pat->mid != -1) return 0; return m->tid == pat->tid && wap_addr_tuple_same(m->addr_tuple, pat->tuple); }