Lines Matching refs:frontpkt
217 struct cfpkt *frontpkt = pkt; in cfrfml_transmit() local
237 while (cfpkt_getlen(frontpkt) > rfml->fragment_size + RFM_HEAD_SIZE) { in cfrfml_transmit()
242 if (cfpkt_add_head(frontpkt, &seg, 1) < 0) in cfrfml_transmit()
251 rearpkt = cfpkt_split(frontpkt, rfml->fragment_size); in cfrfml_transmit()
255 err = cfrfml_transmit_segment(rfml, frontpkt); in cfrfml_transmit()
259 frontpkt = rearpkt; in cfrfml_transmit()
263 if (frontpkt == NULL) in cfrfml_transmit()
266 if (cfpkt_add_head(frontpkt, head, 6) < 0) in cfrfml_transmit()
274 if (cfpkt_add_head(frontpkt, &seg, 1) < 0) in cfrfml_transmit()
277 err = cfrfml_transmit_segment(rfml, frontpkt); in cfrfml_transmit()
279 frontpkt = NULL; in cfrfml_transmit()
292 if (frontpkt && frontpkt != pkt) { in cfrfml_transmit()
294 cfpkt_destroy(frontpkt); in cfrfml_transmit()