Searched refs:ndp_len (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/net/dccp/
H A Doptions.c324 const int ndp_len = dccp_ndp_len(ndp); dccp_insert_option_ndp() local
325 const int len = ndp_len + 2; dccp_insert_option_ndp()
335 dccp_encode_value_var(ndp, ptr, ndp_len); dccp_insert_option_ndp()
/linux-4.1.27/drivers/usb/gadget/function/
H A Df_ncm.c1137 unsigned ndp_len; ncm_unwrap_ntb() local
1188 ndp_len = get_unaligned_le16(tmp++); ncm_unwrap_ntb()
1196 if ((ndp_len < opts->ndp_size ncm_unwrap_ntb()
1198 || (ndp_len % opts->ndplen_align != 0)) { ncm_unwrap_ntb()
1200 ndp_len); ncm_unwrap_ntb()
1208 ndp_len -= opts->ndp_size; ncm_unwrap_ntb()
1253 ndp_len -= 2 * (opts->dgram_item_len * 2); ncm_unwrap_ntb()
1259 } while (ndp_len > 2 * (opts->dgram_item_len * 2)); ncm_unwrap_ntb()

Completed in 95 milliseconds