Searched refs:evtdump (Results 1 – 3 of 3) sorted by relevance
66 struct evtdump *dump;101 struct evtdump *evtdump; in evt_push() local138 len = sizeof(*evtdump); in evt_push()142 if ((evtdump = racoon_malloc(len)) == NULL) { in evt_push()151 racoon_free(evtdump); in evt_push()156 memcpy(&evtdump->src, src, sysdep_sa_len((struct sockaddr *)src)); in evt_push()158 memcpy(&evtdump->dst, dst, sysdep_sa_len((struct sockaddr *)dst)); in evt_push()159 evtdump->len = len; in evt_push()160 evtdump->type = type; in evt_push()161 time(&evtdump->timestamp); in evt_push()[all …]
1222 print_evt(struct evt_async *evtdump) in print_evt() argument1229 if (evtmsg[i].type == evtdump->ec_type) in print_evt()1233 printf("Event %d: ", evtdump->ec_type); in print_evt()1237 if ((srcstr = saddr2str((struct sockaddr *)&evtdump->ec_ph1src)) == NULL) in print_evt()1242 if ((dststr = saddr2str((struct sockaddr *)&evtdump->ec_ph1dst)) == NULL) in print_evt()1255 struct evt_async *evtdump = (struct evt_async *)buf; in print_cfg() local1262 if (evtdump->ec_type != EVT_PHASE1_MODE_CFG) in print_cfg()1265 len -= sizeof(*evtdump); in print_cfg()1266 attr = (struct isakmp_data *)(evtdump + 1); in print_cfg()
42 struct evtdump { struct