Lines Matching refs:pinginfo
25 __type(value, struct pinginfo);
94 struct pinginfo *pinginfo = NULL; in xdping_client() local
115 pinginfo = bpf_map_lookup_elem(&ping_map, &raddr); in xdping_client()
116 if (!pinginfo || pinginfo->seq != icmph->un.echo.sequence) in xdping_client()
119 if (pinginfo->start) { in xdping_client()
122 if (pinginfo->times[i] == 0) in xdping_client()
127 pinginfo->times[i] = recvtime - in xdping_client()
128 pinginfo->start; in xdping_client()
129 pinginfo->start = 0; in xdping_client()
133 if (i == pinginfo->count || i == XDPING_MAX_COUNT) in xdping_client()
147 pinginfo->seq = seq; in xdping_client()
148 pinginfo->start = bpf_ktime_get_ns(); in xdping_client()