Home
last modified time | relevance | path

Searched refs:set_prio (Results 1 – 12 of 12) sorted by relevance

/freebsd/sbin/pfctl/
H A Dpf_print_state.c393 s->set_prio[0], s->set_prio[1]); in print_state()
H A Dpfctl_parser.c1010 if (r->set_prio[0] == r->set_prio[1]) in print_rule()
1011 printf("%s prio %u", comma, r->set_prio[0]); in print_rule()
1013 printf("%s prio(%u, %u)", comma, r->set_prio[0], in print_rule()
1014 r->set_prio[1]); in print_rule()
H A Dparse.y272 u_int8_t set_prio[2]; member
1067 r.set_prio[0] = $9.set_prio[0];
1068 r.set_prio[1] = $9.set_prio[1];
2412 r.set_prio[0] = $9.set_prio[0];
2413 r.set_prio[1] = $9.set_prio[1];
3037 filter_opts.set_prio[0] = $1.b1;
3038 filter_opts.set_prio[1] = $1.b2;
/freebsd/lib/libpfctl/
H A Dlibpfctl.h253 uint8_t set_prio[2]; member
365 uint8_t set_prio[2]; member
H A Dlibpfctl.c802 pf_nvuint_8_array(nvl, "set_prio", 2, rule->set_prio, NULL); in pf_nvrule_to_rule()
1285 snl_add_msg_attr_u8(nw, PF_RT_SET_PRIO, r->set_prio[0]); in snl_add_msg_attr_pf_rule()
1286 snl_add_msg_attr_u8(nw, PF_RT_SET_PRIO_REPLY, r->set_prio[1]); in snl_add_msg_attr_pf_rule()
1647 { .type = PF_RT_SET_PRIO, .off = _OUT(r.set_prio[0]), .cb = snl_attr_get_uint8 },
1648 { .type = PF_RT_SET_PRIO_REPLY, .off = _OUT(r.set_prio[1]), .cb = snl_attr_get_uint8 },
/freebsd/sys/netpfil/pf/
H A Dpf_ioctl.c2027 krule->set_prio[0] = rule->set_prio[0]; in pf_rule_to_krule()
2028 krule->set_prio[1] = rule->set_prio[1]; in pf_rule_to_krule()
2193 (rule->set_prio[0] > PF_PRIO_MAX || in pf_ioctl_addrule()
2194 rule->set_prio[1] > PF_PRIO_MAX)) in pf_ioctl_addrule()
5615 sp->pfs_1400.set_prio[0] = st->act.set_prio[0]; in pfsync_state_export()
5616 sp->pfs_1400.set_prio[1] = st->act.set_prio[1]; in pfsync_state_export()
5734 sp->set_prio[0] = st->act.set_prio[0]; in pf_state_export()
5735 sp->set_prio[1] = st->act.set_prio[1]; in pf_state_export()
H A Dpf.h591 u_int8_t set_prio[2]; member
H A Dpf_nl.c729 { .type = PF_RT_SET_PRIO, .off = _OUT(set_prio[0]), .cb = nlattr_get_uint8 },
730 { .type = PF_RT_SET_PRIO_REPLY, .off = _OUT(set_prio[1]), .cb = nlattr_get_uint8 },
976 nlattr_add_u8(nw, PF_RT_SET_PRIO, rule->set_prio[0]); in pf_handle_getrule()
977 nlattr_add_u8(nw, PF_RT_SET_PRIO_REPLY, rule->set_prio[1]); in pf_handle_getrule()
H A Dpf_nv.c627 PFNV_CHK(pf_nvuint8_array(nvl, "set_prio", rule->set_prio, 2, NULL)); in pf_nvrule_to_krule()
811 pf_uint8_array_nv(nvl, "set_prio", rule->set_prio, 2); in pf_krule_to_nvrule()
H A Dif_pfsync.c681 st->act.set_prio[0] = sp->pfs_1400.set_prio[0]; in pfsync_state_import()
682 st->act.set_prio[1] = sp->pfs_1400.set_prio[1]; in pfsync_state_import()
H A Dpf.c4297 a->set_prio[0] = r->set_prio[0]; in pf_rule_to_actions()
4298 a->set_prio[1] = r->set_prio[1]; in pf_rule_to_actions()
9313 if (vlan_set_pcp(pd.m, pd.act.set_prio[use_2nd_queue])) { in pf_test()
/freebsd/sys/net/
H A Dpfvar.h659 uint8_t set_prio[2]; member
860 u_int8_t set_prio[2]; member
1054 uint8_t set_prio[2]; member
1205 u_int8_t set_prio[2]; member