Lines Matching refs:dnflow
6238 struct ip_fw_args dnflow; in pf_test_dummynet() local
6252 bzero(&dnflow, sizeof(dnflow)); in pf_test_dummynet()
6260 dnflow.fwa_id.flags = pf_pd_get_hdr_tcp(pd)->th_flags; in pf_test_dummynet()
6261 dnflow.fwa_id.dst_port = ntohs(pf_pd_get_hdr_tcp(pd)->th_dport); in pf_test_dummynet()
6262 dnflow.fwa_id.src_port = ntohs(pf_pd_get_hdr_tcp(pd)->th_sport); in pf_test_dummynet()
6266 dnflow.fwa_id.dst_port = ntohs(pf_pd_get_hdr_udp(pd)->uh_dport); in pf_test_dummynet()
6267 dnflow.fwa_id.src_port = ntohs(pf_pd_get_hdr_udp(pd)->uh_sport); in pf_test_dummynet()
6430 dnflow.fwa_cookie = r->dnpipe; in pf_test_dummynet()
6431 dnflow.fwa_pf_rule = r; in pf_test_dummynet()
6432 dnflow.fwa_id.proto = pd->proto; in pf_test_dummynet()
6433 dnflow.fwa_flags = r->dntype; in pf_test_dummynet()
6436 dnflow.fwa_id.addr_type = 4; in pf_test_dummynet()
6437 dnflow.fwa_id.src_ip = ntohl(saddr->v4addr.s_addr); in pf_test_dummynet()
6438 dnflow.fwa_id.dst_ip = ntohl(daddr->v4addr.s_addr); in pf_test_dummynet()
6441 dnflow.fwa_id.addr_type = 6; in pf_test_dummynet()
6442 dnflow.fwa_id.src_ip6 = saddr->v6addr; in pf_test_dummynet()
6443 dnflow.fwa_id.dst_ip6 = saddr->v6addr; in pf_test_dummynet()
6448 dnflow.fwa_oif = fwa->fwa_oif; in pf_test_dummynet()
6449 dnflow.fwa_oflags = fwa->fwa_oflags; in pf_test_dummynet()
6455 dnflow.fwa_ro = fwa->fwa_ro; in pf_test_dummynet()
6456 dnflow.fwa_dst = fwa->fwa_dst; in pf_test_dummynet()
6457 dnflow.fwa_ipoa = fwa->fwa_ipoa; in pf_test_dummynet()
6458 dnflow.fwa_ro6_pmtu = fwa->fwa_ro6_pmtu; in pf_test_dummynet()
6459 dnflow.fwa_origifp = fwa->fwa_origifp; in pf_test_dummynet()
6460 dnflow.fwa_mtu = fwa->fwa_mtu; in pf_test_dummynet()
6461 dnflow.fwa_unfragpartlen = fwa->fwa_unfragpartlen; in pf_test_dummynet()
6462 dnflow.fwa_exthdrs = fwa->fwa_exthdrs; in pf_test_dummynet()
6477 dnflow.fwa_cookie, (af == AF_INET) ? in pf_test_dummynet()
6480 &dnflow); in pf_test_dummynet()