Home
last modified time | relevance | path

Searched refs:evtdump (Results 1 – 3 of 3) sorted by relevance

/external/ipsec-tools/src/racoon/
Devt.c63 struct evtdump *evtdump; local
88 len = sizeof(*evtdump);
92 if ((evtdump = racoon_malloc(len)) == NULL) {
101 racoon_free(evtdump);
106 memcpy(&evtdump->src, src, sysdep_sa_len(src));
108 memcpy(&evtdump->dst, dst, sysdep_sa_len(dst));
109 evtdump->len = len;
110 evtdump->type = type;
111 time(&evtdump->timestamp);
114 memcpy(evtdump + 1, optdata->v, optdata->l);
[all …]
Dracoonctl.c1344 struct evtdump *evtdump = (struct evtdump *)buf; local
1350 if (evtmsg[i].type == evtdump->type)
1354 printf("Event %d: ", evtdump->type);
1358 if ((srcstr = saddr2str((struct sockaddr *)&evtdump->src)) == NULL)
1363 if ((dststr = saddr2str((struct sockaddr *)&evtdump->dst)) == NULL)
1377 struct evtdump *evtdump = (struct evtdump *)buf; local
1382 if (evtmsg[i].type == evtdump->type)
1389 printf("Error: Event %d\n", evtdump->type);
1407 struct evtdump *evtdump = (struct evtdump *)buf; local
1409 if (evtdump->type != EVTT_PHASE1_DOWN)
[all …]
Devt.h37 struct evtdump { struct
68 struct evtdump *dump;
77 struct evtdump *evt_pop(void);