Lines Matching refs:pktsize
311 u16 pktsize; in irdma_form_ah_cm_frame() local
338 pktsize = sizeof(*tcph) + opts_len + hdr_len + pd_len; in irdma_form_ah_cm_frame()
340 memset(buf, 0, pktsize); in irdma_form_ah_cm_frame()
342 sqbuf->totallen = pktsize; in irdma_form_ah_cm_frame()
424 u16 pktsize; in irdma_form_uda_cm_frame() local
451 pktsize = sizeof(*iph) + sizeof(*tcph); in irdma_form_uda_cm_frame()
453 pktsize = sizeof(*ip6h) + sizeof(*tcph); in irdma_form_uda_cm_frame()
454 pktsize += opts_len + hdr_len + pd_len; in irdma_form_uda_cm_frame()
456 memset(buf, 0, eth_hlen + pktsize); in irdma_form_uda_cm_frame()
458 sqbuf->totallen = pktsize + eth_hlen; in irdma_form_uda_cm_frame()
495 iph->tot_len = htons(pktsize); in irdma_form_uda_cm_frame()
528 ip6h->payload_len = htons(pktsize - sizeof(*ip6h)); in irdma_form_uda_cm_frame()