Home | History | Annotate | Download | only in net

Lines Matching refs:ifh

256 	struct ieee1394_fraghdr *ifh;
275 ifh = mtod(m0, struct ieee1394_fraghdr *);
276 ifh->ifh_ft_size = htons(IEEE1394_FT_MORE | (totlen - 1));
277 ifh->ifh_etype_off = etype;
278 ifh->ifh_dgl = htons(ic->ic_dgl);
279 ifh->ifh_reserved = 0;
291 ifh = mtod(m, struct ieee1394_fraghdr *);
292 ifh->ifh_ft_size =
294 ifh->ifh_etype_off = htons(off);
295 ifh->ifh_dgl = htons(ic->ic_dgl);
296 ifh->ifh_reserved = 0;
297 m->m_next = m_copym(m0, sizeof(*ifh) + off, fraglen, M_DONTWAIT);
302 m->m_pkthdr.len = sizeof(*ifh) + fraglen;
307 ifh->ifh_ft_size &= ~htons(IEEE1394_FT_MORE); /* last fragment */
404 struct ieee1394_fraghdr *ifh;
412 if (m0->m_len < sizeof(*ifh)) {
413 if ((m0 = m_pullup(m0, sizeof(*ifh))) == NULL)
416 ifh = mtod(m0, struct ieee1394_fraghdr *);
417 m_adj(m0, sizeof(*ifh));
418 size = ntohs(ifh->ifh_ft_size);
421 dgl = ntohs(ifh->ifh_dgl);
427 off = ntohs(ifh->ifh_etype_off);
429 etype = ifh->ifh_etype_off;