Lines Matching refs:afto

6285 	int	afto = pd->af != pd->naf;  in pf_translate()  local
6287 MPASS(afto); in pf_translate()
6291 if (afto || *pd->sport != sport) { in pf_translate()
6296 if (afto || *pd->dport != dport) { in pf_translate()
6304 if (afto || *pd->sport != sport) { in pf_translate()
6309 if (afto || *pd->dport != dport) { in pf_translate()
6318 if (afto || *pd->sport != sport) { in pf_translate()
6323 if (afto || *pd->dport != dport) { in pf_translate()
6337 if (afto) { in pf_translate()
6364 if (afto) { in pf_translate()
6976 int afto, sidx, didx; in pf_test_state_tcp() local
6983 afto = pd->af != nk->af; in pf_test_state_tcp()
6984 sidx = afto ? pd->didx : pd->sidx; in pf_test_state_tcp()
6985 didx = afto ? pd->sidx : pd->didx; in pf_test_state_tcp()
6987 if (afto || PF_ANEQ(pd->src, &nk->addr[sidx], pd->af) || in pf_test_state_tcp()
6993 if (afto || PF_ANEQ(pd->dst, &nk->addr[didx], pd->af) || in pf_test_state_tcp()
6999 if (afto) { in pf_test_state_tcp()
7063 int afto, sidx, didx; in pf_test_state_udp() local
7070 afto = pd->af != nk->af; in pf_test_state_udp()
7071 sidx = afto ? pd->didx : pd->sidx; in pf_test_state_udp()
7072 didx = afto ? pd->sidx : pd->didx; in pf_test_state_udp()
7074 if (afto || PF_ANEQ(pd->src, &nk->addr[sidx], pd->af) || in pf_test_state_udp()
7080 if (afto || PF_ANEQ(pd->dst, &nk->addr[didx], pd->af) || in pf_test_state_udp()
7086 if (afto) { in pf_test_state_udp()
7213 int afto, sidx, didx; in pf_test_state_sctp() local
7220 afto = pd->af != nk->af; in pf_test_state_sctp()
7221 sidx = afto ? pd->didx : pd->sidx; in pf_test_state_sctp()
7222 didx = afto ? pd->sidx : pd->didx; in pf_test_state_sctp()
7224 if (afto || PF_ANEQ(pd->src, &nk->addr[sidx], pd->af) || in pf_test_state_sctp()
7231 if (afto || PF_ANEQ(pd->dst, &nk->addr[didx], pd->af) || in pf_test_state_sctp()
7238 if (afto) { in pf_test_state_sctp()
7794 int afto, sidx, didx; in pf_test_state_icmp() local
7801 afto = pd->af != nk->af; in pf_test_state_icmp()
7802 sidx = afto ? pd->didx : pd->sidx; in pf_test_state_icmp()
7803 didx = afto ? pd->sidx : pd->didx; in pf_test_state_icmp()
7804 iidx = afto ? !iidx : iidx; in pf_test_state_icmp()
7810 if (afto) { in pf_test_state_icmp()
7817 if (!afto && in pf_test_state_icmp()
7824 if (!afto && PF_ANEQ(pd->dst, in pf_test_state_icmp()
7847 if (afto) { in pf_test_state_icmp()
7854 if (!afto && in pf_test_state_icmp()
7860 if (!afto && PF_ANEQ(pd->dst, in pf_test_state_icmp()
7875 if (afto) { in pf_test_state_icmp()
8077 int afto, sidx, didx; in pf_test_state_icmp() local
8079 afto = pd->af != nk->af; in pf_test_state_icmp()
8080 sidx = afto ? pd2.didx : pd2.sidx; in pf_test_state_icmp()
8081 didx = afto ? pd2.sidx : pd2.didx; in pf_test_state_icmp()
8083 if (afto) { in pf_test_state_icmp()
8188 int afto, sidx, didx; in pf_test_state_icmp() local
8190 afto = pd->af != nk->af; in pf_test_state_icmp()
8191 sidx = afto ? pd2.didx : pd2.sidx; in pf_test_state_icmp()
8192 didx = afto ? pd2.sidx : pd2.didx; in pf_test_state_icmp()
8194 if (afto) { in pf_test_state_icmp()
8322 int afto, sidx, didx; in pf_test_state_icmp() local
8324 afto = pd->af != nk->af; in pf_test_state_icmp()
8325 sidx = afto ? pd2.didx : pd2.sidx; in pf_test_state_icmp()
8326 didx = afto ? pd2.sidx : pd2.didx; in pf_test_state_icmp()
8328 if (afto) { in pf_test_state_icmp()
8441 int afto, sidx, didx; in pf_test_state_icmp() local
8443 afto = pd->af != nk->af; in pf_test_state_icmp()
8444 sidx = afto ? pd2.didx : pd2.sidx; in pf_test_state_icmp()
8445 didx = afto ? pd2.sidx : pd2.didx; in pf_test_state_icmp()
8446 iidx = afto ? !iidx : iidx; in pf_test_state_icmp()
8448 if (afto) { in pf_test_state_icmp()
8557 int afto, sidx, didx; in pf_test_state_icmp() local
8559 afto = pd->af != nk->af; in pf_test_state_icmp()
8560 sidx = afto ? pd2.didx : pd2.sidx; in pf_test_state_icmp()
8561 didx = afto ? pd2.sidx : pd2.didx; in pf_test_state_icmp()
8562 iidx = afto ? !iidx : iidx; in pf_test_state_icmp()
8564 if (afto) { in pf_test_state_icmp()
8726 int afto; in pf_test_state_other() local
8738 afto = pd->af != nk->af; in pf_test_state_other()
8743 if (!afto && in pf_test_state_other()
8750 if (!afto && in pf_test_state_other()
8761 if (!afto && in pf_test_state_other()
8765 if (!afto && in pf_test_state_other()
8770 if (afto) { in pf_test_state_other()
8772 &nk->addr[afto ? pd->didx : pd->sidx], nk->af); in pf_test_state_other()
8774 &nk->addr[afto ? pd->sidx : pd->didx], nk->af); in pf_test_state_other()