Home
last modified time | relevance | path

Searched refs:mcopy (Results 1 – 9 of 9) sorted by relevance

/freebsd-13.1/sys/netinet/
H A Dip_fastfwd.c113 struct mbuf *mcopy; in ip_redir_alloc() local
171 if (mcopy == NULL) in ip_redir_alloc()
181 m_free(mcopy); in ip_redir_alloc()
184 mcopy->m_len = min(ip_len, M_TRAILINGSPACE(mcopy)); in ip_redir_alloc()
185 mcopy->m_pkthdr.len = mcopy->m_len; in ip_redir_alloc()
186 m_copydata(m, 0, mcopy->m_len, mtod(mcopy, caddr_t)); in ip_redir_alloc()
188 return (mcopy); in ip_redir_alloc()
245 struct mbuf *mcopy = NULL; in ip_tryforward() local
550 if (mcopy != NULL) { in ip_tryforward()
556 if (mcopy != NULL) in ip_tryforward()
[all …]
H A Dip_input.c1013 if (mcopy != NULL && !m_dup_pkthdr(mcopy, m, M_NOWAIT)) { in ip_forward()
1020 m_free(mcopy); in ip_forward()
1021 mcopy = NULL; in ip_forward()
1024 mcopy->m_len = min(ntohs(ip->ip_len), M_TRAILINGSPACE(mcopy)); in ip_forward()
1025 mcopy->m_pkthdr.len = mcopy->m_len; in ip_forward()
1026 m_copydata(m, 0, mcopy->m_len, mtod(mcopy, caddr_t)); in ip_forward()
1037 m_freem(mcopy); in ip_forward()
1093 if (mcopy) in ip_forward()
1094 m_freem(mcopy); in ip_forward()
1098 if (mcopy == NULL) in ip_forward()
[all …]
/freebsd-13.1/sys/netinet6/
H A Dip6_forward.c98 struct mbuf *mcopy = NULL; in ip6_forward() local
161 m_freem(mcopy); in ip6_forward()
192 if (mcopy) { in ip6_forward()
193 icmp6_error(mcopy, ICMP6_DST_UNREACH, in ip6_forward()
224 if (mcopy) in ip6_forward()
376 if (mcopy) in ip6_forward()
397 if (mcopy) in ip6_forward()
402 if (mcopy == NULL) in ip6_forward()
407 icmp6_redirect_output(mcopy, nh); in ip6_forward()
429 icmp6_error(mcopy, type, code, 0); in ip6_forward()
[all …]
/freebsd-13.1/sys/net80211/
H A Dieee80211_wds.c241 struct mbuf *mcopy; in ieee80211_dwds_mcast() local
260 mcopy = m_copypacket(m, M_NOWAIT); in ieee80211_dwds_mcast()
261 if (mcopy == NULL) { in ieee80211_dwds_mcast()
270 m_freem(mcopy); in ieee80211_dwds_mcast()
274 if (ieee80211_classify(ni, mcopy)) { in ieee80211_dwds_mcast()
281 m_freem(mcopy); in ieee80211_dwds_mcast()
292 mcopy = ieee80211_encap(vap, ni, mcopy); in ieee80211_dwds_mcast()
293 if (mcopy == NULL) { in ieee80211_dwds_mcast()
299 mcopy->m_flags |= M_MCAST; in ieee80211_dwds_mcast()
301 mcopy->m_pkthdr.rcvif = (void *) ni; in ieee80211_dwds_mcast()
[all …]
H A Dieee80211_mesh.c1123 for (; mcopy != NULL; mcopy = next) { in ieee80211_mesh_forward_to_gates()
1124 next = mcopy->m_nextpkt; in ieee80211_mesh_forward_to_gates()
1125 mcopy->m_nextpkt = NULL; in ieee80211_mesh_forward_to_gates()
1129 mcopy->m_pkthdr.len); in ieee80211_mesh_forward_to_gates()
1152 struct mbuf *mcopy; in mesh_forward() local
1178 mcopy = m_dup(m, M_NOWAIT); in mesh_forward()
1179 if (mcopy == NULL) { in mesh_forward()
1186 mcopy = m_pullup(mcopy, ieee80211_hdrspace(ic, wh) + in mesh_forward()
1188 if (mcopy == NULL) { in mesh_forward()
1193 m_freem(mcopy); in mesh_forward()
[all …]
H A Dieee80211_input.c130 struct mbuf *mcopy; in ieee80211_input_mimo_all() local
149 mcopy = m_dup(m, M_NOWAIT); in ieee80211_input_mimo_all()
150 if (mcopy == NULL) { in ieee80211_input_mimo_all()
155 mcopy = m; in ieee80211_input_mimo_all()
159 type = ieee80211_input_mimo(ni, mcopy); in ieee80211_input_mimo_all()
H A Dieee80211_hostap.c386 struct mbuf *mcopy = NULL; in hostap_deliver_data() local
389 mcopy = m_dup(m, M_NOWAIT); in hostap_deliver_data()
390 if (mcopy == NULL) in hostap_deliver_data()
393 mcopy->m_flags |= M_MCAST; in hostap_deliver_data()
412 mcopy = m; in hostap_deliver_data()
422 if (mcopy != NULL) in hostap_deliver_data()
423 (void) ieee80211_vap_xmitpkt(vap, mcopy); in hostap_deliver_data()
/freebsd-13.1/contrib/file/src/
H A Dsoftmagic.c60 private int mcopy(struct magic_set *, union VALUETYPE *, int, int,
1295 mcopy(struct magic_set *ms, union VALUETYPE *p, int type, int indir, in mcopy() function
1569 if (mcopy(ms, p, m->type, m->flag & INDIR, s, in mget()
1736 if (mcopy(ms, p, m->type, 0, s, offset, nbytes, m) == -1) in mget()
/freebsd-13.1/tools/tools/nanobsd/embedded/
H A Dcommon220 mcopy -i ${NANO_LOG}/_.${NANO_SLICE_FAT} ${NANO_FAT_DIR}/* ::
473 if [ ! -x /usr/local/bin/mcopy ]; then