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/sbin/pfctl/
H A Dparse.y270 u_int rtableid; member
289 u_int rtableid; member
303 u_int rtableid; member
413 u_int rtableid; member
575 %type <v.rtableid> rtable
999 r.rtableid = $9.rtableid;
1093 r.rtableid = $7;
1114 r.rtableid = $7;
1156 r.rtableid = $7;
1461 r.rtableid = $8.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.c1217 if (r->rtableid != -1) in print_rule()
1218 printf(" rtable %u", r->rtableid); in print_rule()
/freebsd/sys/netpfil/pf/
H A Dpf_lb.c142 int rtableid = -1; in pf_match_translation() local
197 if (r->rtableid >= 0) in pf_match_translation()
198 rtableid = r->rtableid; in pf_match_translation()
218 if (rtableid >= 0) in pf_match_translation()
219 M_SETFIB(pd->m, rtableid); in pf_match_translation()
H A Dpf.c2600 s->act.rtableid); in pf_unlink_state()
3360 int mbuf_flags, u_int16_t mtag_tag, u_int16_t mtag_flags, int rtableid) in pf_build_tcp() argument
3410 if (rtableid >= 0) in pf_build_tcp()
3411 M_SETFIB(m, rtableid); in pf_build_tcp()
3506 uint8_t ttl, int rtableid) in pf_send_sctp_abort() argument
3591 if (rtableid >= 0) in pf_send_sctp_abort()
3592 M_SETFIB(m, rtableid); in pf_send_sctp_abort()
3623 int mbuf_flags, u_int16_t mtag_tag, u_int16_t mtag_flags, int rtableid) in pf_send_tcp() argument
3629 win, mss, ttl, mbuf_flags, mtag_tag, mtag_flags, rtableid); in pf_send_tcp()
3661 u_short *reason, int rtableid) in pf_return() argument
[all …]
H A Dpf_syncookies.c302 pd->act.rtableid); in pf_syncookie_send()
521 pd->act.rtableid)); in pf_syncookie_recreate_syn()
H A Dpf.h524 int rtableid; member
H A Dpf_ioctl.c347 V_pf_default_rule.rtableid = -1; in pfattach_vnet()
1976 krule->rtableid = rule->rtableid; in pf_rule_to_krule()
2158 if (rule->rtableid > 0 && rule->rtableid >= rt_numfibs) in pf_ioctl_addrule()
3688 if (newrule->rtableid > 0 && in pfioctl()
3689 newrule->rtableid >= rt_numfibs) in pfioctl()
5612 sp->pfs_1400.rtableid = htonl(st->act.rtableid); in pfsync_state_export()
5727 sp->rtableid = htonl(st->act.rtableid); in pf_state_export()
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.c652 st->act.rtableid = r->rtableid; in pfsync_state_import()
677 st->act.rtableid = ntohl(sp->pfs_1400.rtableid); in pfsync_state_import()
H A Dpf_nl.c203 nlattr_add_u32(nw, PF_ST_RTABLEID, s->act.rtableid); in dump_state()
683 { .type = PF_RT_RTABLEID, .off = _OUT(rtableid), .cb = nlattr_get_uint32 },
920 nlattr_add_u32(nw, PF_RT_RTABLEID, rule->rtableid); in pf_handle_getrule()
/freebsd/lib/libpfctl/
H A Dlibpfctl.h190 int rtableid; member
361 int32_t rtableid; member
H A Dlibpfctl.c746 rule->rtableid = nvlist_get_number(nvl, "rtableid"); in pf_nvrule_to_rule()
1231 snl_add_msg_attr_u32(nw, PF_RT_RTABLEID, r->rtableid); in snl_add_msg_attr_pf_rule()
1601 { .type = PF_RT_RTABLEID, .off = _OUT(r.rtableid), .cb = snl_attr_get_uint32 },
1904 { .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.h649 int32_t rtableid; member
797 int32_t rtableid; member
1050 int32_t rtableid; member
1201 int32_t rtableid; member