Home | History | Annotate | Download | only in npfctl

Lines Matching refs:vars

313 build_vars(npf_bpf_t *ctx, sa_family_t family, npfvar_t *vars, int opts)
315 size_t var_cnt = npfvar_get_count(vars);
317 const unsigned type = npfvar_getfilt_type(vars, i);
318 void *data = npfvar_getfilt_data(vars, type, i);
360 npfctl_build_vars(npf_bpf_t *ctx, sa_family_t family, npfvar_t *vars, int opts)
363 build_vars(ctx, family, vars, opts);
412 npfctl_build_proto(npf_bpf_t *ctx, const npfvar_t *vars)
414 const unsigned count = npfvar_get_count(vars);
422 const opt_proto_t *op = npfvar_get_data(vars, NPFVAR_PROTO, 0);
429 const opt_proto_t *op = npfvar_get_data(vars, NPFVAR_PROTO, i);
436 npfctl_check_proto(const npfvar_t *vars, bool *non_tcpudp, bool *tcp_with_nofl)
443 if (vars == NULL) {
447 count = npfvar_get_count(vars);
449 const opt_proto_t *op = npfvar_get_data(vars, NPFVAR_PROTO, i);