Lines Matching refs:mc
5564 struct mbuf *mc;
5615 mc = m_dup(m, M_DONTWAIT);
5616 if (mc == NULL) {
5622 mc, CHECKSUM_OPERATION_COMPUTE, pkt_direction_TX);
6116 mbuf_ref_t mc;
6190 mc = m;
6193 mc = m_dup(m, M_DONTWAIT);
6194 if (mc == NULL) {
6207 mc_in = m_dup(mc, M_DONTWAIT);
6216 bridge_mac_nat_translate(&mc, &mnr, IF_LLADDR(dst_if));
6219 if (mc != NULL && sbif != NULL &&
6223 int i = min(mc->m_pkthdr.len, max_protohdr);
6224 mc = m_copyup(mc, i, ETHER_ALIGN);
6225 if (mc == NULL) {
6235 if (bridge_pf(&mc, dst_if, sc_filter_flags, false) != 0) {
6242 if (mc == NULL) {
6251 if (mc != NULL) {
6255 error = bridge_verify_checksum(&mc,
6258 if (mc != NULL) {
6259 m_freem(mc);
6261 mc = NULL;
6264 if (mc != NULL) {
6266 NULL, dst_if, etypef, mc, cksum_op,
6626 struct mbuf *mc;
6639 mc = m_copypacket(m, M_DONTWAIT);
6640 if (mc == NULL) {
6645 (void) bridge_enqueue(sc->sc_ifp, NULL, dst_if, etypef, mc,
8651 mbuf_ref_t mc = NULL;
8658 mc = m_dup(scan, M_DONTWAIT);
8660 if (mc == NULL) {
8663 translate_mac = bridge_mac_nat_output(sc, sbif, &mc, &mnr);
8664 if (mc != NULL) {
8666 bridge_mac_nat_translate(&mc, &mnr,
8669 if (mc != NULL) {
8671 mblist_append(&ret, mc);
9514 mbuf_t mc;
9517 mc = m_dup(m, M_DONTWAIT);
9518 if (mc != NULL) {
9522 mc->m_flags |= M_BCAST;
9523 eh = mtod(mc, struct ether_header *);
9526 return mc;