Home
last modified time | relevance | path

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

/freebsd/sys/netinet6/
H A Dip6_forward.c97 struct mbuf *mcopy = NULL; in ip6_forward() local
159 m_freem(mcopy); in ip6_forward()
190 if (mcopy) { in ip6_forward()
199 if (mcopy != NULL) { in ip6_forward()
204 m_freem(mcopy); in ip6_forward()
233 if (mcopy) in ip6_forward()
385 if (mcopy) in ip6_forward()
406 if (mcopy) in ip6_forward()
411 if (mcopy == NULL) in ip6_forward()
438 icmp6_error(mcopy, type, code, 0); in ip6_forward()
[all …]
/freebsd/sys/netinet/
H A Dip_fastfwd.c112 struct mbuf *mcopy; in ip_redir_alloc() local
170 if (mcopy == NULL) in ip_redir_alloc()
180 m_free(mcopy); in ip_redir_alloc()
183 mcopy->m_len = min(ip_len, M_TRAILINGSPACE(mcopy)); in ip_redir_alloc()
184 mcopy->m_pkthdr.len = mcopy->m_len; in ip_redir_alloc()
185 m_copydata(m, 0, mcopy->m_len, mtod(mcopy, caddr_t)); in ip_redir_alloc()
187 return (mcopy); in ip_redir_alloc()
244 struct mbuf *mcopy = NULL; in ip_tryforward() local
541 if (mcopy != NULL) { in ip_tryforward()
547 if (mcopy != NULL) in ip_tryforward()
[all …]
H A Dip_input.c965 if (mcopy != NULL && !m_dup_pkthdr(mcopy, m, M_NOWAIT)) { in ip_forward()
972 m_free(mcopy); in ip_forward()
973 mcopy = NULL; in ip_forward()
976 mcopy->m_len = min(ntohs(ip->ip_len), M_TRAILINGSPACE(mcopy)); in ip_forward()
977 mcopy->m_pkthdr.len = mcopy->m_len; in ip_forward()
978 m_copydata(m, 0, mcopy->m_len, mtod(mcopy, caddr_t)); in ip_forward()
989 m_freem(mcopy); in ip_forward()
1045 if (mcopy) in ip_forward()
1046 m_freem(mcopy); in ip_forward()
1050 if (mcopy == NULL) in ip_forward()
[all …]
/freebsd/sys/net80211/
H A Dieee80211_wds.c237 struct mbuf *mcopy; in ieee80211_dwds_mcast() local
256 mcopy = m_copypacket(m, IEEE80211_M_NOWAIT); in ieee80211_dwds_mcast()
257 if (mcopy == NULL) { in ieee80211_dwds_mcast()
266 m_freem(mcopy); in ieee80211_dwds_mcast()
270 if (ieee80211_classify(ni, mcopy)) { in ieee80211_dwds_mcast()
277 m_freem(mcopy); in ieee80211_dwds_mcast()
288 mcopy = ieee80211_encap(vap, ni, mcopy); in ieee80211_dwds_mcast()
289 if (mcopy == NULL) { in ieee80211_dwds_mcast()
295 mcopy->m_flags |= M_MCAST; in ieee80211_dwds_mcast()
297 mcopy->m_pkthdr.rcvif = (void *) ni; in ieee80211_dwds_mcast()
[all …]
H A Dieee80211_mesh.c1120 for (; mcopy != NULL; mcopy = next) { in ieee80211_mesh_forward_to_gates()
1121 next = mcopy->m_nextpkt; in ieee80211_mesh_forward_to_gates()
1122 mcopy->m_nextpkt = NULL; in ieee80211_mesh_forward_to_gates()
1126 mcopy->m_pkthdr.len); in ieee80211_mesh_forward_to_gates()
1149 struct mbuf *mcopy; in mesh_forward() local
1176 if (mcopy == NULL) { in mesh_forward()
1183 mcopy = m_pullup(mcopy, ieee80211_hdrspace(ic, wh) + in mesh_forward()
1185 if (mcopy == NULL) { in mesh_forward()
1190 m_freem(mcopy); in mesh_forward()
1201 mcopy->m_flags |= M_MCAST; in mesh_forward()
[all …]
H A Dieee80211_input.c129 struct mbuf *mcopy; in ieee80211_input_mimo_all() local
148 mcopy = m_dup(m, IEEE80211_M_NOWAIT); in ieee80211_input_mimo_all()
149 if (mcopy == NULL) { in ieee80211_input_mimo_all()
154 mcopy = m; in ieee80211_input_mimo_all()
158 type = ieee80211_input_mimo(ni, mcopy); in ieee80211_input_mimo_all()
H A Dieee80211_hostap.c382 struct mbuf *mcopy = NULL; in hostap_deliver_data() local
385 mcopy = m_dup(m, IEEE80211_M_NOWAIT); in hostap_deliver_data()
386 if (mcopy == NULL) in hostap_deliver_data()
389 mcopy->m_flags |= M_MCAST; in hostap_deliver_data()
408 mcopy = m; in hostap_deliver_data()
418 if (mcopy != NULL) in hostap_deliver_data()
419 (void) ieee80211_vap_xmitpkt(vap, mcopy); in hostap_deliver_data()
/freebsd/contrib/file/src/
H A Dsoftmagic.c62 file_private int mcopy(struct magic_set *, union VALUETYPE *, int, int,
1323 mcopy(struct magic_set *ms, union VALUETYPE *p, int type, int indir, in mcopy() function
1615 if (mcopy(ms, p, m->type, m->flag & INDIR, s, in mget()
1804 if (mcopy(ms, p, m->type, 0, s, offset, nbytes, m) == -1) in mget()
/freebsd/tools/tools/nanobsd/embedded/
H A Dcommon216 mcopy -s -i ${NANO_LOG}/_.${NANO_SLICE_FAT} ${NANO_FAT_DIR}/* ::
464 if [ ! -x /usr/local/bin/mcopy ]; then