Home
last modified time | relevance | path

Searched refs:rtableid (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/netcat/
H A Dnetcat.c112 int rtableid = -1; variable
282 rtableid = (int)strtonum(optarg, 0, in main()
698 if (rtableid >= 0 && (setsockopt(s, SOL_SOCKET, SO_SETFIB, in remote_connect()
699 &rtableid, sizeof(rtableid)) == -1)) in remote_connect()
807 if (rtableid >= 0 && (setsockopt(s, SOL_SOCKET, SO_SETFIB, in local_listen()
808 &rtableid, sizeof(rtableid)) == -1)) in local_listen()
/freebsd/crypto/openssh/regress/
H A Dnetcat.c119 int rtableid = -1; variable
239 rtableid = (int)strtonum(optarg, 0, in main()
631 if (rtableid >= 0 && (setsockopt(s, SOL_SOCKET, SO_RTABLE, in remote_connect()
632 &rtableid, sizeof(rtableid)) == -1)) in remote_connect()
743 if (rtableid >= 0 && (setsockopt(s, SOL_SOCKET, SO_RTABLE, in local_listen()
744 &rtableid, sizeof(rtableid)) == -1)) in local_listen()
/freebsd/sys/netpfil/pf/
H A Dpf_lb.c133 int rtableid = -1; in pf_match_translation() local
188 if (r->rtableid >= 0) in pf_match_translation()
189 rtableid = r->rtableid; in pf_match_translation()
209 if (rtableid >= 0) in pf_match_translation()
210 M_SETFIB(m, rtableid); in pf_match_translation()
H A Dpf.c2968 if (rtableid >= 0) in pf_build_tcp()
2969 M_SETFIB(m, rtableid); in pf_build_tcp()
3149 if (rtableid >= 0) in pf_send_sctp_abort()
3150 M_SETFIB(m, rtableid); in pf_send_sctp_abort()
3365 if (rtableid >= 0) in pf_send_icmp()
3844 if (r->rtableid >= 0) in pf_rule_to_actions()
3845 a->rtableid = r->rtableid; in pf_rule_to_actions()
5069 pd->act.rtableid); in pf_create_state()
7190 int rtableid) in pf_routable() argument
8079 pd.act.rtableid = -1; in pf_test()
[all …]
H A Dpf_syncookies.c305 0, true, 0, 0, pd->act.rtableid); in pf_syncookie_send()
524 PF_MTAG_FLAG_SYNCOOKIE_RECREATED, pd->act.rtableid)); in pf_syncookie_recreate_syn()
H A Dpf.h522 int rtableid; member
H A Dpf_ioctl.c349 V_pf_default_rule.rtableid = -1; in pfattach_vnet()
1974 krule->rtableid = rule->rtableid; in pf_rule_to_krule()
2146 if (rule->rtableid > 0 && rule->rtableid >= rt_numfibs) in pf_ioctl_addrule()
3393 if (newrule->rtableid > 0 && in pfioctl()
3394 newrule->rtableid >= rt_numfibs) in pfioctl()
5510 sp->pfs_1400.rtableid = htonl(st->act.rtableid); in pfsync_state_export()
5625 sp->rtableid = htonl(st->act.rtableid); in pf_state_export()
H A Dpf_nl.c198 nlattr_add_u32(nw, PF_ST_RTABLEID, s->act.rtableid); in dump_state()
681 { .type = PF_RT_RTABLEID, .off = _OUT(rtableid), .cb = nlattr_get_uint32 },
916 nlattr_add_u32(nw, PF_RT_RTABLEID, rule->rtableid); in pf_handle_getrule()
H A Dpf_nv.c570 PFNV_CHK(pf_nvint(nvl, "rtableid", &rule->rtableid)); in pf_nvrule_to_krule()
742 nvlist_add_number(nvl, "rtableid", rule->rtableid); in pf_krule_to_nvrule()
H A Dif_pfsync.c655 st->act.rtableid = r->rtableid; in pfsync_state_import()
680 st->act.rtableid = ntohl(sp->pfs_1400.rtableid); in pfsync_state_import()
/freebsd/sbin/pfctl/
H A Dparse.y269 u_int rtableid; member
288 u_int rtableid; member
302 u_int rtableid; member
411 u_int rtableid; member
997 r.rtableid = $9.rtableid;
1091 r.rtableid = $7;
1112 r.rtableid = $7;
1459 r.rtableid = $8.rtableid;
1589 r.rtableid = $5.rtableid;
1642 r.rtableid = $5.rtableid;
[all …]
H A Dpf_print_state.c439 if (s->rtableid != -1) in print_state()
440 printf(" rtable: %d", s->rtableid); in print_state()
H A Dpfctl_parser.c1214 if (r->rtableid != -1) in print_rule()
1215 printf(" rtable %u", r->rtableid); in print_rule()
/freebsd/lib/libpfctl/
H A Dlibpfctl.h190 int rtableid; member
360 int32_t rtableid; member
H A Dlibpfctl.c736 rule->rtableid = nvlist_get_number(nvl, "rtableid"); in pf_nvrule_to_rule()
1208 snl_add_msg_attr_u32(nw, PF_RT_RTABLEID, r->rtableid); in snl_add_msg_attr_pf_rule()
1554 { .type = PF_RT_RTABLEID, .off = _OUT(r.rtableid), .cb = snl_attr_get_uint32 },
1855 { .type = PF_ST_RTABLEID, .off = _OUT(rtableid), .cb = snl_attr_get_int32 },
/freebsd/tests/sys/netpfil/pf/ioctl/
H A Dvalidation.c820 rule.rule.rtableid = 0; in ATF_TC_BODY()
857 rule.rule.rtableid = 0; in ATF_TC_BODY()
/freebsd/sys/net/
H A Dpfvar.h634 int32_t rtableid; member
785 int32_t rtableid; member
1015 int32_t rtableid; member
1165 int32_t rtableid; member