Lines Matching defs:forwarding
337 struct secpolicy *sp, int forwarding)
382 * If we're forwarding generate ICMP message here,
387 if (forwarding) {
408 struct ip *ip1, int forwarding, u_long mtu)
414 sp = ipsec4_checkpolicy(m, inp, ip1, &error, !forwarding);
426 * when we are forwarding a packet. Otherwise we could not handle
434 error = ipsec4_check_pmtu(ifp, m, ip1, sp, forwarding);
458 struct ip *ip1, int forwarding, u_long mtu)
475 return (ipsec4_common_output1(ifp, m, inp, ip, forwarding, mtu));
757 int forwarding)
766 * locally generated packets. During L3 forwarding packets that are too
770 if (!forwarding)
800 * If we're forwarding generate ICMPv6 message here,
805 if (forwarding) {
821 int forwarding, u_long mtu)
827 sp = ipsec6_checkpolicy(m, inp, &error, !forwarding);
837 error = ipsec6_check_pmtu(ifp, m, sp, forwarding);