Searched refs:ndp_len (Results 1 – 2 of 2) sorted by relevance
1133 unsigned ndp_len; in ncm_unwrap_ntb() local1184 ndp_len = get_unaligned_le16(tmp++); in ncm_unwrap_ntb()1192 if ((ndp_len < opts->ndp_size in ncm_unwrap_ntb()1194 || (ndp_len % opts->ndplen_align != 0)) { in ncm_unwrap_ntb()1196 ndp_len); in ncm_unwrap_ntb()1204 ndp_len -= opts->ndp_size; in ncm_unwrap_ntb()1249 ndp_len -= 2 * (opts->dgram_item_len * 2); in ncm_unwrap_ntb()1255 } while (ndp_len > 2 * (opts->dgram_item_len * 2)); in ncm_unwrap_ntb()
324 const int ndp_len = dccp_ndp_len(ndp); in dccp_insert_option_ndp() local325 const int len = ndp_len + 2; in dccp_insert_option_ndp()335 dccp_encode_value_var(ndp, ptr, ndp_len); in dccp_insert_option_ndp()