Lines Matching refs:mc
5555 struct mbuf *mc;
5606 mc = m_dup(m, M_DONTWAIT);
5607 if (mc == NULL) {
5613 mc, CHECKSUM_OPERATION_COMPUTE, pkt_direction_TX);
6107 mbuf_ref_t mc;
6181 mc = m;
6184 mc = m_dup(m, M_DONTWAIT);
6185 if (mc == NULL) {
6198 mc_in = m_dup(mc, M_DONTWAIT);
6207 bridge_mac_nat_translate(&mc, &mnr, IF_LLADDR(dst_if));
6210 if (mc != NULL && sbif != NULL &&
6214 int i = min(mc->m_pkthdr.len, max_protohdr);
6215 mc = m_copyup(mc, i, ETHER_ALIGN);
6216 if (mc == NULL) {
6226 if (bridge_pf(&mc, dst_if, sc_filter_flags, false) != 0) {
6233 if (mc == NULL) {
6242 if (mc != NULL) {
6246 error = bridge_verify_checksum(&mc,
6249 if (mc != NULL) {
6250 m_freem(mc);
6252 mc = NULL;
6255 if (mc != NULL) {
6257 NULL, dst_if, etypef, mc, cksum_op,
6617 struct mbuf *mc;
6630 mc = m_copypacket(m, M_DONTWAIT);
6631 if (mc == NULL) {
6636 (void) bridge_enqueue(sc->sc_ifp, NULL, dst_if, etypef, mc,
8642 mbuf_ref_t mc = NULL;
8649 mc = m_dup(scan, M_DONTWAIT);
8651 if (mc == NULL) {
8654 translate_mac = bridge_mac_nat_output(sc, sbif, &mc, &mnr);
8655 if (mc != NULL) {
8657 bridge_mac_nat_translate(&mc, &mnr,
8660 if (mc != NULL) {
8662 mblist_append(&ret, mc);
9505 mbuf_t mc;
9508 mc = m_dup(m, M_DONTWAIT);
9509 if (mc != NULL) {
9513 mc->m_flags |= M_BCAST;
9514 eh = mtod(mc, struct ether_header *);
9517 return mc;