Home
last modified time | relevance | path

Searched refs:last_ip (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/processor-trace/libipt/test/src/
H A Dptunit-last_ip.c40 struct pt_last_ip last_ip; in init() local
42 memset(&last_ip, 0xcd, sizeof(last_ip)); in init()
44 pt_last_ip_init(&last_ip); in init()
46 ptu_uint_eq(last_ip.ip, 0ull); in init()
47 ptu_uint_eq(last_ip.have_ip, 0); in init()
48 ptu_uint_eq(last_ip.suppressed, 0); in init()
62 struct pt_last_ip last_ip; in status_initial() local
65 pt_last_ip_init(&last_ip); in status_initial()
67 errcode = pt_last_ip_query(NULL, &last_ip); in status_initial()
75 struct pt_last_ip last_ip; in status() local
[all …]
H A Dptunit-query.c59 struct pt_last_ip last_ip; member
487 pt_last_ip_update_ip(&dfix->last_ip, &packet, &dfix->config); in indir()
499 ptu_uint_eq(addr, dfix->last_ip.ip); in indir()
516 pt_last_ip_update_ip(&dfix->last_ip, &packet, &dfix->config); in indir_tnt()
529 ptu_uint_eq(addr, dfix->last_ip.ip); in indir_tnt()
948 pt_last_ip_update_ip(&dfix->last_ip, &packet, &dfix->config); in event_enabled()
960 ptu_uint_eq(event.variant.enabled.ip, dfix->last_ip.ip); in event_enabled()
1004 pt_last_ip_update_ip(&dfix->last_ip, &packet, &dfix->config); in event_disabled()
1016 ptu_uint_eq(event.variant.disabled.ip, dfix->last_ip.ip); in event_disabled()
1061 pt_last_ip_update_ip(&dfix->last_ip, &fup, &dfix->config); in event_async_disabled()
[all …]
/freebsd/contrib/processor-trace/libipt/src/
H A Dpt_last_ip.c34 void pt_last_ip_init(struct pt_last_ip *last_ip) in pt_last_ip_init() argument
36 if (!last_ip) in pt_last_ip_init()
39 last_ip->ip = 0ull; in pt_last_ip_init()
40 last_ip->have_ip = 0; in pt_last_ip_init()
41 last_ip->suppressed = 0; in pt_last_ip_init()
44 int pt_last_ip_query(uint64_t *ip, const struct pt_last_ip *last_ip) in pt_last_ip_query() argument
46 if (!last_ip) in pt_last_ip_query()
49 if (!last_ip->have_ip) { in pt_last_ip_query()
55 if (last_ip->suppressed) { in pt_last_ip_query()
62 *ip = last_ip->ip; in pt_last_ip_query()
[all …]
/freebsd/contrib/processor-trace/libipt/internal/include/
H A Dpt_last_ip.h54 extern void pt_last_ip_init(struct pt_last_ip *last_ip);
65 extern int pt_last_ip_query(uint64_t *ip, const struct pt_last_ip *last_ip);
75 extern int pt_last_ip_update_ip(struct pt_last_ip *last_ip,
/freebsd/contrib/processor-trace/libipt/
H A DCMakeLists.txt119 add_ptunit_std_test(last_ip)
/freebsd/tools/tools/net80211/wesside/wesside/
H A Dwesside.c1843 static struct timeval last_ip; in flood_inet() local
1929 memset(&last_ip, 0, sizeof(last_ip)); in flood_inet()
1941 sec = now.tv_sec - last_ip.tv_sec; in flood_inet()
1951 if (gettimeofday(&last_ip, NULL) == -1) { in flood_inet()