Lines Matching refs:dst
535 struct ifnet *dst , *old ;
582 dst = bridge_dst_lookup(eh);
591 switch ((int)dst) {
597 BDG_STAT(ifp, dst);
600 if (dst == ifp || dropit )
608 if (dst == BDG_BCAST || dst == BDG_MCAST || dst == BDG_LOCAL)
613 return (dst == ifp ? BDG_DROP : dst ) ;
618 * Forward to dst, excluding src port and muted interfaces.
619 * If src == NULL, the pkt comes from ether_output, and dst is the real
636 bdg_forward(struct mbuf *m0, struct ether_header *const eh, struct ifnet *dst)
643 struct ifnet *real_dst = dst ; /* real dst from ether_output */
667 dst = bridge_dst_lookup(eh);
668 if (dst == BDG_DROP) { /* this should not happen */
673 if (dst == BDG_LOCAL) { /* this should not happen as well */
677 if (dst == BDG_BCAST || dst == BDG_MCAST || dst == BDG_UNKNOWN) {
680 if (dst != BDG_UNKNOWN) /* need a copy for the local stack */
683 ifp = dst ;
687 panic("bdg_forward: bad dst");
729 * The third parameter to the firewall code is the dst. interface.