Lines Matching refs:dg_size
96 unsigned ether_type, unsigned dg_size, unsigned dgl) in fwnet_make_ff_hdr() argument
99 | fwnet_set_hdr_dg_size(dg_size) in fwnet_make_ff_hdr()
105 unsigned lf, unsigned dg_size, unsigned fg_off, unsigned dgl) in fwnet_make_sf_hdr() argument
108 | fwnet_set_hdr_dg_size(dg_size) in fwnet_make_sf_hdr()
362 struct fwnet_peer *peer, u16 datagram_label, unsigned dg_size, in fwnet_pd_new() argument
378 new->datagram_size = dg_size; in fwnet_pd_new()
379 new->skb = dev_alloc_skb(dg_size + LL_RESERVED_SPACE(net)); in fwnet_pd_new()
384 new->pbuf = skb_put(new->skb, dg_size); in fwnet_pd_new()
577 int dg_size; in fwnet_incoming_packet() local
626 dg_size = fwnet_get_hdr_dg_size(&hdr); in fwnet_incoming_packet()
628 if (fg_off + len > dg_size) in fwnet_incoming_packet()
648 dg_size, buf, fg_off, len); in fwnet_incoming_packet()
656 pd->datagram_size != dg_size) { in fwnet_incoming_packet()
663 dg_size, buf, fg_off, len); in fwnet_incoming_packet()
851 u16 dg_size; in fwnet_transmit_packet_done() local
870 dg_size = fwnet_get_hdr_dg_size(&ptask->hdr); in fwnet_transmit_packet_done()
876 dg_size = fwnet_get_hdr_dg_size(&ptask->hdr); in fwnet_transmit_packet_done()
891 dg_size, fg_off, datagram_label); in fwnet_transmit_packet_done()
894 dg_size, fg_off, datagram_label); in fwnet_transmit_packet_done()
1239 u16 dg_size; in fwnet_tx() local
1281 dg_size = skb->len; in fwnet_tx()
1321 if (dg_size <= max_payload) { in fwnet_tx()
1324 max_payload = dg_size + RFC2374_UNFRAG_HDR_SIZE; in fwnet_tx()
1330 fwnet_make_ff_hdr(&ptask->hdr, ntohs(proto), dg_size, in fwnet_tx()
1332 ptask->outstanding_pkts = DIV_ROUND_UP(dg_size, max_payload); in fwnet_tx()