Searched refs:last_ip (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/processor-trace/libipt/test/src/ |
H A D | ptunit-last_ip.c | 40 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 D | ptunit-query.c | 59 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 D | pt_last_ip.c | 34 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 D | pt_last_ip.h | 54 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 D | CMakeLists.txt | 119 add_ptunit_std_test(last_ip)
|
/freebsd/tools/tools/net80211/wesside/wesside/ |
H A D | wesside.c | 1843 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()
|