-/* $OpenBSD: if_pflow.c,v 1.95 2022/08/12 16:38:09 mvs Exp $ */
+/* $OpenBSD: if_pflow.c,v 1.96 2022/08/12 16:38:50 mvs Exp $ */
/*
* Copyright (c) 2011 Florian Obser <florian@narrans.de>
{
int mtu;
- if (sc->sc_pflow_ifp && sc->sc_pflow_ifp->if_mtu < mtu_req)
- mtu = sc->sc_pflow_ifp->if_mtu;
- else
- mtu = mtu_req;
+ mtu = mtu_req;
switch (sc->sc_version) {
case PFLOW_PROTO_5:
-/* $OpenBSD: if_pflow.h,v 1.17 2017/05/31 13:05:43 visa Exp $ */
+/* $OpenBSD: if_pflow.h,v 1.18 2022/08/12 16:38:50 mvs Exp $ */
/*
* Copyright (c) 2008 Henning Brauer <henning@openbsd.org>
struct pflow_softc {
struct ifnet sc_if;
- struct ifnet *sc_pflow_ifp;
unsigned int sc_count;
unsigned int sc_count4;
struct mbuf *send_nam;
struct sockaddr *sc_flowsrc;
struct sockaddr *sc_flowdst;
- u_char sc_send_templates;
struct pflow_ipfix_tmpl sc_tmpl_ipfix;
u_int8_t sc_version;
struct mbuf *sc_mbuf; /* current cumulative mbuf */