Searched refs:mcopy (Results 1 - 7 of 7) sorted by relevance

/freebsd-10.0-release/sys/netinet6/
H A Dip6_forward.c100 struct mbuf *mcopy = NULL; local
178 mcopy = m_copy(m, 0, imin(m->m_pkthdr.len, ICMPV6_PLD_MAXLEN));
187 if (mcopy) {
191 m_freem(mcopy);
209 if (mcopy) {
213 m_freem(mcopy);
231 if (mcopy) {
235 m_freem(mcopy);
314 if (mcopy) {
318 m_freem(mcopy);
[all...]
/freebsd-10.0-release/sys/net80211/
H A Dieee80211_wds.c239 struct mbuf *mcopy; local
258 mcopy = m_copypacket(m, M_NOWAIT);
259 if (mcopy == NULL) {
268 m_freem(mcopy);
272 if (ieee80211_classify(ni, mcopy)) {
279 m_freem(mcopy);
289 mcopy = ieee80211_encap(vap, ni, mcopy);
290 if (mcopy == NULL) {
295 mcopy
[all...]
H A Dieee80211_mesh.c1079 struct mbuf *m, *mcopy, *next; local
1124 mcopy = m_dup(m, M_NOWAIT);
1125 for (; mcopy != NULL; mcopy = next) {
1126 next = mcopy->m_nextpkt;
1127 mcopy->m_nextpkt = NULL;
1130 "flush queued frame %p len %d", mcopy,
1131 mcopy->m_pkthdr.len);
1132 mesh_transmit_to_gate(vap, mcopy, rt_gate);
1154 struct mbuf *mcopy; local
[all...]
H A Dieee80211_input.c116 struct mbuf *mcopy; local
134 mcopy = m_dup(m, M_NOWAIT);
135 if (mcopy == NULL) {
140 mcopy = m;
144 type = ieee80211_input_mimo(ni, mcopy, rx);
H A Dieee80211_hostap.c381 struct mbuf *mcopy = NULL; local
384 mcopy = m_dup(m, M_NOWAIT);
385 if (mcopy == NULL)
388 mcopy->m_flags |= M_MCAST;
407 mcopy = m;
417 if (mcopy != NULL) {
419 len = mcopy->m_pkthdr.len;
420 err = ieee80211_vap_xmitpkt(vap, mcopy);
422 /* NB: IFQ_HANDOFF reclaims mcopy */
/freebsd-10.0-release/sys/netinet/
H A Dip_input.c1372 struct mbuf *mcopy; local
1423 mcopy = m_gethdr(M_NOWAIT, m->m_type);
1424 if (mcopy != NULL && !m_dup_pkthdr(mcopy, m, M_NOWAIT)) {
1431 m_free(mcopy);
1432 mcopy = NULL;
1434 if (mcopy != NULL) {
1435 mcopy->m_len = min(ntohs(ip->ip_len), M_TRAILINGSPACE(mcopy));
1436 mcopy
[all...]
/freebsd-10.0-release/contrib/file/
H A Dsoftmagic.c53 private int mcopy(struct magic_set *, union VALUETYPE *, int, int,
915 mcopy(struct magic_set *ms, union VALUETYPE *p, int type, int indir, function
977 file_magerror(ms, "invalid offset %u in mcopy()",
1038 if (mcopy(ms, p, m->type, m->flag & INDIR, s, offset, nbytes, count) == -1)
1525 if (mcopy(ms, p, m->type, 0, s, offset, nbytes, count) == -1)

Completed in 226 milliseconds