Home
last modified time | relevance | path

Searched refs:set_tos (Results 1 – 18 of 18) sorted by relevance

/freebsd/tests/sys/netpfil/pf/
H A DMakefile46 set_tos \
/freebsd/contrib/ofed/librdmacm/examples/
H A Dcmatose.c77 static uint8_t set_tos = 0; variable
220 if (set_tos) { in addr_handler()
673 set_tos = 1; in main()
H A Dudaddy.c74 static uint8_t set_tos = 0; variable
240 if (set_tos) { in addr_handler()
626 set_tos = 1; in main()
/freebsd/lib/libpfctl/
H A Dlibpfctl.h247 uint8_t set_tos; member
363 uint8_t set_tos; member
H A Dlibpfctl.c796 rule->set_tos = nvlist_get_number(nvl, "set_tos"); in pf_nvrule_to_rule()
1279 snl_add_msg_attr_u8(nw, PF_RT_SET_TOS, r->set_tos); in snl_add_msg_attr_pf_rule()
1642 { .type = PF_RT_SET_TOS, .off = _OUT(r.set_tos), .cb = snl_attr_get_uint8 },
/freebsd/sbin/pfctl/
H A Dpf_print_state.c386 printf(", set-tos 0x%2.2x", s->set_tos); in print_state()
H A Dpfctl_parser.c1018 printf("%s tos 0x%2.2x", comma, r->set_tos); in print_rule()
1169 printf(" set-tos 0x%2.2x", r->set_tos); in print_rule()
1185 printf(" set-tos 0x%2.2x", r->set_tos); in print_rule()
H A Dpfctl_optimize.c203 PF_RULE_FIELD(set_tos, NEVER),
H A Dparse.y1449 r.set_tos = $8.settos;
2400 r.set_tos = $9.settos;
/freebsd/sys/netpfil/pf/
H A Dpf.h581 u_int8_t set_tos; member
H A Dpf_nv.c622 PFNV_CHK(pf_nvuint8(nvl, "set_tos", &rule->set_tos)); in pf_nvrule_to_krule()
804 nvlist_add_number(nvl, "set_tos", rule->set_tos); in pf_krule_to_nvrule()
H A Dif_pfsync.c654 st->act.set_tos = r->set_tos; in pfsync_state_import()
679 st->act.set_tos = sp->pfs_1400.set_tos; in pfsync_state_import()
H A Dpf_ioctl.c1340 PF_MD5_UPD(rule, set_tos); in pf_hash_rule_rolling()
2023 krule->set_tos = rule->set_tos; in pf_rule_to_krule()
5613 sp->pfs_1400.set_tos = st->act.set_tos; in pfsync_state_export()
5728 sp->set_tos = st->act.set_tos; in pf_state_export()
H A Dpf_norm.c2211 h->ip_tos = pd->act.set_tos | (h->ip_tos & IPTOS_ECN_MASK); in pf_scrub()
2220 h6->ip6_flow |= htonl((pd->act.set_tos | IPV6_ECN(h6)) << 20); in pf_scrub()
H A Dpf_nl.c724 { .type = PF_RT_SET_TOS, .off = _OUT(set_tos), .cb = nlattr_get_uint8 },
971 nlattr_add_u8(nw, PF_RT_SET_TOS, rule->set_tos); in pf_handle_getrule()
H A Dpf.c4272 a->set_tos = r->set_tos; in pf_rule_to_actions()
/freebsd/sys/net/
H A Dpfvar.h654 uint8_t set_tos; member
854 u_int8_t set_tos; member
1052 uint8_t set_tos; member
1203 u_int8_t set_tos; member
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_main.c1806 static void set_tos(void *outer_c, void *outer_v, u8 mask, u8 val) in set_tos() function
1915 set_tos(outer_headers_c, outer_headers_v, in parse_flow_attr()
1947 set_tos(outer_headers_c, outer_headers_v, in parse_flow_attr()