Lines Matching refs:pflowr
1576 pflow_set(struct pflow_softc *sc, const struct pflow_parsed_set *pflowr, struct ucred *cred) in pflow_set() argument
1586 if (pflowr->version != 0) { in pflow_set()
1587 switch(pflowr->version) { in pflow_set()
1598 if (pflowr->dst.ss_len != 0) { in pflow_set()
1600 sc->sc_flowdst->sa_family != pflowr->dst.ss_family) { in pflow_set()
1609 switch (pflowr->dst.ss_family) { in pflow_set()
1617 memcpy(sc->sc_flowdst, &pflowr->dst, in pflow_set()
1629 memcpy(sc->sc_flowdst, &pflowr->dst, in pflow_set()
1639 if (pflowr->src.ss_len != 0) { in pflow_set()
1647 switch(pflowr->src.ss_family) { in pflow_set()
1653 memcpy(sc->sc_flowsrc, &pflowr->src, in pflow_set()
1663 memcpy(sc->sc_flowsrc, &pflowr->src, in pflow_set()
1693 if (pflowr->observation_dom != 0) in pflow_set()
1694 sc->sc_observation_dom = pflowr->observation_dom; in pflow_set()
1697 if (pflowr->version != 0) in pflow_set()
1698 sc->sc_version = pflowr->version; in pflow_set()