Lines Matching refs:opts_len
312 u32 opts_len = 0; in irdma_form_ah_cm_frame() local
330 opts_len = (u32)options->size; in irdma_form_ah_cm_frame()
338 pktsize = sizeof(*tcph) + opts_len + hdr_len + pd_len; in irdma_form_ah_cm_frame()
343 sqbuf->tcphlen = sizeof(*tcph) + opts_len; in irdma_form_ah_cm_frame()
376 tcph->doff = (u16)((sizeof(*tcph) + opts_len + 3) >> 2); in irdma_form_ah_cm_frame()
381 if (opts_len) { in irdma_form_ah_cm_frame()
382 memcpy(buf, options->addr, opts_len); in irdma_form_ah_cm_frame()
383 buf += opts_len; in irdma_form_ah_cm_frame()
426 u32 opts_len = 0; in irdma_form_uda_cm_frame() local
439 opts_len = (u32)options->size; in irdma_form_uda_cm_frame()
454 pktsize += opts_len + hdr_len + pd_len; in irdma_form_uda_cm_frame()
460 sqbuf->tcphlen = sizeof(*tcph) + opts_len; in irdma_form_uda_cm_frame()
564 tcph->doff = (u16)((sizeof(*tcph) + opts_len + 3) >> 2); in irdma_form_uda_cm_frame()
569 if (opts_len) { in irdma_form_uda_cm_frame()
570 memcpy(buf, options->addr, opts_len); in irdma_form_uda_cm_frame()
571 buf += opts_len; in irdma_form_uda_cm_frame()