Lines Matching refs:p
164 #define p(f, m) if (ipsecstat->f || sflag <= 1) \ in print_ipsecstats() macro
169 p(ips_in_polvio, "\t{:dropped-policy-violation/%ju} " in print_ipsecstats()
171 p(ips_in_nomem, "\t{:dropped-no-memory/%ju} " in print_ipsecstats()
173 p(ips_in_inval, "\t{:dropped-invalid/%ju} " in print_ipsecstats()
175 p(ips_out_polvio, "\t{:discarded-policy-violation/%ju} " in print_ipsecstats()
177 p(ips_out_nosa, "\t{:discarded-no-sa/%ju} " in print_ipsecstats()
179 p(ips_out_nomem, "\t{:discarded-no-memory/%ju} " in print_ipsecstats()
181 p(ips_out_noroute, "\t{:discarded-no-route/%ju} " in print_ipsecstats()
183 p(ips_out_inval, "\t{:discarded-invalid/%ju} " in print_ipsecstats()
185 p(ips_out_bundlesa, "\t{:send-bundled-sa/%ju} " in print_ipsecstats()
187 p(ips_spdcache_hits, "\t{:spdcache-hits/%ju} " in print_ipsecstats()
191 p(ips_clcopied, "\t{:clusters-copied-during-clone/%ju} " in print_ipsecstats()
193 p(ips_mbinserted, "\t{:mbufs-inserted/%ju} " in print_ipsecstats()
196 #undef p in print_ipsecstats()
234 const struct val2str *p; in ipsec_hist_new() local
246 for (p = name; p && p->str; p++) { in ipsec_hist_new()
247 if (p->val == (int)proto) in ipsec_hist_new()
250 if (p && p->str) { in ipsec_hist_new()
251 xo_emit("\t\t{k:name}: {:count/%ju}\n", p->str, in ipsec_hist_new()
268 #define p(f, n, m) if (ahstat->f || sflag <= 1) \ in print_ahstats() macro
274 p(ahs_hdrops, "dropped-short-header", in print_ahstats()
276 p(ahs_nopf, "dropped-bad-protocol", in print_ahstats()
278 p(ahs_notdb, "dropped-no-tdb", "packet%s dropped; no TDB"); in print_ahstats()
279 p(ahs_badkcr, "dropped-bad-kcr", "packet%s dropped; bad KCR"); in print_ahstats()
280 p(ahs_qfull, "dropped-queue-full", "packet%s dropped; queue full"); in print_ahstats()
281 p(ahs_noxform, "dropped-no-transform", in print_ahstats()
283 p(ahs_wrap, "replay-counter-wraps", "replay counter wrap%s"); in print_ahstats()
284 p(ahs_badauth, "dropped-bad-auth", in print_ahstats()
286 p(ahs_badauthl, "dropped-bad-auth-level", in print_ahstats()
288 p(ahs_replay, "possile-replay-detected", in print_ahstats()
290 p(ahs_input, "received-packets", "packet%s in"); in print_ahstats()
291 p(ahs_output, "send-packets", "packet%s out"); in print_ahstats()
292 p(ahs_invalid, "dropped-bad-tdb", "packet%s dropped; invalid TDB"); in print_ahstats()
293 p(ahs_ibytes, "received-bytes", "byte%s in"); in print_ahstats()
294 p(ahs_obytes, "send-bytes", "byte%s out"); in print_ahstats()
295 p(ahs_toobig, "dropped-too-large", in print_ahstats()
297 p(ahs_pdrops, "dropped-policy-violation", in print_ahstats()
299 p(ahs_crypto, "crypto-failures", "crypto processing failure%s"); in print_ahstats()
300 p(ahs_tunnel, "tunnel-failures", "tunnel sanity check failure%s"); in print_ahstats()
304 #undef p in print_ahstats()
327 #define p(f, n, m) if (espstat->f || sflag <= 1) \ in print_espstats() macro
333 p(esps_hdrops, "dropped-short-header", in print_espstats()
335 p(esps_nopf, "dropped-bad-protocol", in print_espstats()
337 p(esps_notdb, "dropped-no-tdb", "packet%s dropped; no TDB"); in print_espstats()
338 p(esps_badkcr, "dropped-bad-kcr", "packet%s dropped; bad KCR"); in print_espstats()
339 p(esps_qfull, "dropped-queue-full", "packet%s dropped; queue full"); in print_espstats()
340 p(esps_noxform, "dropped-no-transform", in print_espstats()
342 p(esps_badilen, "dropped-bad-length", "packet%s dropped; bad ilen"); in print_espstats()
343 p(esps_wrap, "replay-counter-wraps", "replay counter wrap%s"); in print_espstats()
344 p(esps_badenc, "dropped-bad-crypto", in print_espstats()
346 p(esps_badauth, "dropped-bad-auth", in print_espstats()
348 p(esps_replay, "possible-replay-detected", in print_espstats()
350 p(esps_input, "received-packets", "packet%s in"); in print_espstats()
351 p(esps_output, "sent-packets", "packet%s out"); in print_espstats()
352 p(esps_invalid, "dropped-bad-tdb", "packet%s dropped; invalid TDB"); in print_espstats()
353 p(esps_ibytes, "receieve-bytes", "byte%s in"); in print_espstats()
354 p(esps_obytes, "sent-bytes", "byte%s out"); in print_espstats()
355 p(esps_toobig, "dropped-too-large", in print_espstats()
357 p(esps_pdrops, "dropped-policy-violation", in print_espstats()
359 p(esps_crypto, "crypto-failures", "crypto processing failure%s"); in print_espstats()
360 p(esps_tunnel, "tunnel-failures", "tunnel sanity check failure%s"); in print_espstats()
364 #undef p in print_espstats()
388 #define p(f, n, m) if (ipcompstat->f || sflag <= 1) \ in print_ipcompstats() macro
394 p(ipcomps_hdrops, "dropped-short-header", in print_ipcompstats()
396 p(ipcomps_nopf, "dropped-bad-protocol", in print_ipcompstats()
398 p(ipcomps_notdb, "dropped-no-tdb", "packet%s dropped; no TDB"); in print_ipcompstats()
399 p(ipcomps_badkcr, "dropped-bad-kcr", "packet%s dropped; bad KCR"); in print_ipcompstats()
400 p(ipcomps_qfull, "dropped-queue-full", "packet%s dropped; queue full"); in print_ipcompstats()
401 p(ipcomps_noxform, "dropped-no-transform", in print_ipcompstats()
403 p(ipcomps_wrap, "replay-counter-wraps", "replay counter wrap%s"); in print_ipcompstats()
404 p(ipcomps_input, "receieve-packets", "packet%s in"); in print_ipcompstats()
405 p(ipcomps_output, "sent-packets", "packet%s out"); in print_ipcompstats()
406 p(ipcomps_invalid, "dropped-bad-tdb", "packet%s dropped; invalid TDB"); in print_ipcompstats()
407 p(ipcomps_ibytes, "receieved-bytes", "byte%s in"); in print_ipcompstats()
408 p(ipcomps_obytes, "sent-bytes", "byte%s out"); in print_ipcompstats()
409 p(ipcomps_toobig, "dropped-too-large", in print_ipcompstats()
411 p(ipcomps_pdrops, "dropped-policy-violation", in print_ipcompstats()
413 p(ipcomps_crypto, "crypto-failure", "crypto processing failure%s"); in print_ipcompstats()
416 p(ipcomps_threshold, "sent-uncompressed-small-packets", in print_ipcompstats()
418 p(ipcomps_uncompr, "sent-uncompressed-useless-packets", in print_ipcompstats()
421 #undef p in print_ipcompstats()